2015-09-24 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr52969.c
blob05331d93f34e9cba4f23a2c494ed1396af837b28
1 /* { dg-do compile } */
2 /* { dg-options "-ftree-loop-if-convert-stores" } */
4 int a, b;
5 float xsum[100];
6 void foo (float *cluster)
8 int j;
9 for (; a ; ++j) {
10 xsum[j] = cluster[j];
11 if (xsum[j] > 0)
12 xsum[j] = 0;
14 if (xsum[0])
15 b = 0;