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