This is the mail archive of the gcc-help@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: Some strict aliasing related fun


Raymond Sheh wrote:

> (and indeed, in one of the cases, if I manually put all
> the optimisation flags mentioned in the manpage for -O1 and -O2 onto the
> compile line it doesn't actually break!).

Specifying -fsome-optimization without an n >= 0 level of -On is a
no-op.  In other words, optimization must be enabled in order to do any
optimization.

Brian


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