https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115539
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Your testcase isn't self-contained, there is no main, so there isn't much we can do about it, but from the 220 -Wstrict-aliasing warnings I'd say it is very likely the code violates TBAA just about everywhere. Try -O2 -fno-strict-aliasing? If that helps, most likely it is just bogus code being compiled.