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

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 26 07:03:40 GMT 2020


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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The warning only looks at the single expression it quotes which isn't really
enough to discover you are doing right.  It tries to be helpful - if you know
better then disable the warning.


More information about the Gcc-bugs mailing list