[Bug c++/56104] Wrong "dereferencing type-punned pointer" warning
daniel.kruegler at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jan 25 13:04:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56104
Daniel Krügler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler at
| |googlemail dot com
--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2013-01-25 13:03:27 UTC ---
I can see the same warning for gcc 4.8.0 20130120 (experimental). It's
essential to have -02 set (maybe even higher). I agree that the diagnostics
seems incorrect and the code seems to be well-formed and well-defined.
More information about the Gcc-bugs
mailing list