[Bug c++/56104] [4.7/4.8 Regression] Wrong "dereferencing type-punned pointer" warning

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 25 20:29:00 GMT 2013


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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2013-01-25 20:29:22 UTC ---
Fixed for 4.8 by not building the questionable code at all; fixed for 4.7 by
reverting the fold_build_pointer_plus change.



More information about the Gcc-bugs mailing list