[Bug c++/81145] bogus "dereferencing type-punned pointer will break strict-aliasing rules" diagnostic with incomplete class type

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 20 23:32:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81145

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Indeed, the warning is gone with a current gcc-7-branch build.

*** This bug has been marked as a duplicate of bug 80593 ***


More information about the Gcc-bugs mailing list