[Bug c++/49338] wrong code with -O2 and -O3

hsmeier at arcor dot de gcc-bugzilla@gcc.gnu.org
Thu Jun 9 08:59:00 GMT 2011


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.



More information about the Gcc-bugs mailing list