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

vincent-gcc at vinc17 dot net gcc-bugzilla@gcc.gnu.org
Thu Mar 26 09:12:13 GMT 2020


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

--- Comment #2 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
Why not having a level with no false positives? This would avoid to disable the
warning globally.

IMHO, using it when a union is involved is likely to generate false positives.


More information about the Gcc-bugs mailing list