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/42179] Incorrect optimization (-O2) yields wrong code (regression)



------- Comment #2 from d dot g dot gorbachev at gmail dot com  2009-11-26 11:02 -------
> note that there are no warnings

A warning is issued with -Wstrict-aliasing=1 or -Wstrict-aliasing=2, but no
warning with -Wstrict-aliasing=3 (or -Wall).

I see there are already a few bug reports about this.


-- 


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


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