This is the mail archive of the gcc-bugs@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]

[Bug c++/54972] O2 breaks something in 4.6.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54972

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-18 12:01:22 UTC ---
(In reply to comment #4)
> You need -Wstrict-aliasing=2. 

And -O2

If the optimization passes don't run then they can't produce warnings.


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