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++/56104] Wrong "dereferencing type-punned pointer" warning


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.


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