Re: gcc -O2 vs gcc -Os performance

Martin J. Bligh
2003-02-06T23:24:22Z

>> gcc-3.2
>>
>> 2901299 vmlinux.O2
>> 2667827 vmlinux.Os
>>
>
> In an earlier message, Martin J. Bligh wrote:
>>
>> 894822 Feb 5 23:50 /boot/vmlinuz-2.5.59-mjb3-Os
>> 906203 Feb 5 22:46 /boot/vmlinuz-2.5.59-mjb3.old
>
> And if you compare both with same/no compression?

980233 Feb 6 11:15 /boot/vmlinuz-2.5.59-mjb3
914965 Feb 6 09:34 /boot/vmlinuz-2.5.59-mjb3.old

Those were probably the right files. (O2 and Os respectively)
I didn't look too closely at the time. Looks like 2.95 produces
smaller files with O2 than 3.2 does with -Os. Bah.

/me cheers for gcc 2.95.4

M.