https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79920
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Status|UNCONFIRMED |ASSIGNED Known to work| |5.4.1 Keywords| |wrong-code Last reconfirmed| |2017-03-07 Component|c |tree-optimization Ever confirmed|0 |1 Target Milestone|--- |6.4 Known to fail| |6.3.1, 7.0.1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I can confirm your findings, GCC 5 seems fine. -fno-tree-vectorize fixes it. I will have a looksee.