[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]