https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78772
--- Comment #10 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- When in doubt you could use -fno-strict-aliasing. And sorry, but this is not the right place to discuss the aliasing rules of the standard.