http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58223
Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2013-08-23 Summary|wrong code at -O3 on |[4.8/4.9 Regression] wrong |x86_64-linux-gnu |code at -O3 on | |x86_64-linux-gnu Ever confirmed|0 |1 --- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> --- ldist pass replaces the a[b]=0 statements with a call to memset after the loop, apparently missing the aliasing with a[0]=1.