2018-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / pr82819.c
blobed4b1b6ed53cac03e31ea34a5a2b7458f14f422e
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -floop-nest-optimize" } */
4 short int *ts;
6 void
7 c2 (unsigned long long int s4, int ns)
9 short int *b2 = (short int *)&ns;
11 while (ns != 0)
13 int xn;
15 for (xn = 0; xn < 3; ++xn)
16 for (*b2 = 0; *b2 < 2; ++*b2)
17 s4 += xn;
18 if (s4 != 0)
19 b2 = ts;
20 ++ns;