using non-standard optflags (-O3, in particular)

Patrice Dumas pertusus at free.fr
Fri Feb 9 00:25:38 UTC 2007


On Thu, Feb 08, 2007 at 04:16:58PM -0600, Callum Lerwick wrote:
> 
> With what GCC version? And with what other flags? Optimization is an
> incredibly finicky thing, that can wildly vary depending on the version
> of GCC, and different opt flags can interact in strange ways.
> 
> Unless you can show a conclusive benchmark showing -O3 is better with
> *our* GCC and all the rest of *our* opt flags, this shouldn't be allowed
> IMHO.

Why not trust upstream? And if a benchmark shows that it is untrue, 
come back to -O2. If i recall well -O3 make debuging harder, so there is
a choice to do, but the packager should certainly be trusted in those
cases.

--
Pat




More information about the fedora-extras-list mailing list