https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61196
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |ebotcazou at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- The code breaks the aliasing rules of ISO C and thus has undefined behavior. Compile with -Wstrict-aliasing=1 to get a warning and -fno-strict-aliasing to ask it to be forgiving about the violation.