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++/49338] wrong code with -O2 and -O3


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

--- Comment #6 from Hans Meier <hsmeier at arcor dot de> 2011-06-09 08:59:11 UTC ---
(In reply to comment #2)
> is an obvious aliasing violation.
... and if so, shouldn't -Wstrict-aliasing emit a warning? None of the
mentioned compilers (4.4.6 - 4.6.0) does it.


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