[Bug c++/41874] Incorrect "dereferencing type-punned pointer will break strict-aliasing rules" warning

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Dec 24 08:32:00 GMT 2017


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

--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Aso Renji from comment #13)
> Still have same problem in g++ 6.3.0. So, please reopen this bug.

What do you mean by "same problem"? The original testcase does not produce a
warning with GCC 6.3.0

If you get a warning for a different piece of code then please open a new bug,
this one is fixed.


More information about the Gcc-bugs mailing list