]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/graphite/pr81090.c
2017-06-16 Richard Biener <rguenther@suse.de>
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / graphite / pr81090.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -floop-nest-optimize" } */
3
4 int x3, za;
5 int hg[1];
6
7 void
8 yw (int dq)
9 {
10 const int r7 = 2;
11
12 while (dq < 1)
13 {
14 for (x3 = 0; x3 < r7; ++x3)
15 for (za = 0; za < r7; ++za)
16 hg[1] = 0;
17 ++dq;
18 }
19
20 x3 = 0;
21 while (x3 < r7)
22 {
23 ++x3;
24 if (x3 == 0)
25 break;
26 }
27 }