In message <[EMAIL PROTECTED]>, you wrote:
>In the last episode (Jan 05), Ronald F. Guilmette said:
>> Martin Cracauer <[EMAIL PROTECTED]> wrote:
>> >
>> >When your code breaks when using -O2 or higher, don't do that, use
>> >just -O!
>>
>> Ah, excuse me, but -O is equivalent to -O2.
>
>/usr/src/contrib/gcc/toplev.c:4821
>
> if (!strcmp (argv[i], "-O"))
> {
> optimize = 1;
> optimize_size = 0;
> }
>
>So, -O is equivalent to -O1.
OH MY GOD! You're right, and I stand corrected.
Once upon a time, -O *was* equivalent to -O2, but it appears that this
got changed somewhere along the way.
(I'm glad that you pointed out my faux pas... I won't be using just -O
with gcc anymore!)
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message