Boost logo

Boost-Build :

Subject: [Boost-build] Choice of optimization flags for GCC
From: David Abrahams (dave_at_[hidden])
Date: 2008-09-08 14:51:11


According to http://www.gentoo.org/doc/en/gcc-optimization.xml, we are
using suboptimal optimization settings when building on GCC-4.x (-O3;
they say it should be -O2). I seem to recall hearing from someone (who
ought to know) that -O3 was actually strictly experimental and not even
guaranteed to produce correct code. But I may be misremembering and I
am unable to corroborate any of this. Anyone?

Thanks,

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk