1 /* { dg-do compile } */ 2 /* { dg-options "-ftree-loop-if-convert-stores" } */ 3 4 int a, b; 5 float xsum[100]; foo(float * cluster)6 void foo (float *cluster) 7 { 8 int j; 9 for (; a ; ++j) { 10 xsum[j] = cluster[j]; 11 if (xsum[j] > 0) 12 xsum[j] = 0; 13 } 14 if (xsum[0]) 15 b = 0; 16 } 17