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, 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?


Dave Abrahams
BoostPro Computing

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at