------- Comment #5 from pinskia at gcc dot gnu dot org 2007-10-06 20:37 ------- Reduced testcase: int f(int dim, int *b) { int newcentroid[3][dim]; int *a = newcentroid[2]; int i, dist=0; for (i=0;i<dim;i++) dist += (a[i] - b[i])*(a[i] - b[i]); return dist; }
Compile with -O3 -msse2. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-10-06 20:37:00 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33680