On Thu, Dec 20, 2012 at 07:17:00PM +0100, Marc Espie wrote: > same as naddy. Specifically because -O2 is the only optimization level > that's really tested...
Yup. It's a shame that we can't trust gcc's optimiser. That said, since the gcc4 update, the optimiser may be (more) correct; I just don't know. What would proper testing of -O3 for gcc4 arches entail? Would this be building the whole ports tree -O3 and trying the packages. Is there a more systematic approach, like a test suite or benchmark of correctness? Cheers -- Best Regards Edd Barrett http://www.theunixzoo.co.uk