https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78995
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2017-01-05 Component|c++ |middle-end Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Does adding -fno-strict-aliasing fix the problem you are seeing? I am suspecting the code is violating C/C++ aliasing rules.