https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113224
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This code is undefined for violating C/C++ aliasing rules. The warning is because of the undefinedness of the code.