PR target/55146
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / O1-pr41008.c
blobbbdea127ce82170101097260b61f4b6bb5555a20
1 /* { dg-do compile } */
3 double heating[2][2];
5 void foo (int, int);
7 void map_do()
9 int jsav, ksav, k, j;
11 for(k = 0; k < 2; k++)
12 for(j = 0; j < 2; j++)
13 if (heating[k][j] > 0.)
15 jsav = j;
16 ksav = k;
19 foo (jsav, ksav);
22 /* { dg-final { cleanup-tree-dump "vect" } } */