DragonFly users List (threaded) for 2008-07
DragonFly BSD
DragonFly users List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Hammer on snapshot cd's


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Wed, 16 Jul 2008 17:12:02 +0800

On Wed, Jul 16, 2008 at 4:41 PM, Simon 'corecode' Schubert >>    No,
we will always stick to -O.  GCC is a moving target too, even if
>>    -O2 works now there is a high chance it will break something in future
>>    GCC rolls.
>
> Why should -O2 break things and -O never break things?  That doesn't seem
> obvious to me.  I think all the breakages that happened in the last couple
> of years which were connected with optimization happened with -O, -O2 and
> -Os.
>
> There seems to be a traditional, irrational fear of -O2 in the FreeBSD
> community, which I can't explain.  I've heard something about -O2 and inline
> assembly, but that's probably old as well.

I think it something about accessing (or dereferencing) unaligned
fields in a union.

Best Regards,
sephe

-- 
Live Free or Die



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]