[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 15:32: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
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jason at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2013-01-25 15:32:17 UTC ---
If we know the dynamic type of the object, we can avoid building the
questionable code in the first place.



More information about the Gcc-bugs mailing list