[Bug c++/47817] incorrectly working code generated with -O3
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 19 22:07:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47817
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-19 21:37:08 UTC ---
(In reply to comment #4)
> But given that reinterpret_cast does not, I would still suspect some tricky
> things happening inside gcc anyway..
No reinterpret_cast does not change the fact you are violating the aliasing
rules.
More information about the Gcc-bugs
mailing list