Some strict aliasing related fun

Brian Dessent brian@dessent.net
Wed Nov 28 09:40:00 GMT 2007


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



More information about the Gcc-help mailing list