This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Optimizing GCC


> In part this is false: it depends only on whether the optimization flag 
> you add to build gcc is safe or not.  
> 
> If the optimization doesn't introduce junks, in other words if the 
> optimization is valid, then the optimized GCC is semantically equivalent 
> to the non-optimized GCC.  Thus you'll get the same output for the same 
> input on both versions of GCC.
> 
> Otherwise it is an error in the optimization you used to optimize GCC.

Or there is a bug in the GCC code which only shows up in the optimized context ...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]