PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / pr71824.c
blob2a90e30e50fb700e6631d96b03ab570bfcc3a73f
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -floop-nest-optimize" } */
4 int a, b, d;
5 int **c;
6 int fn1() {
7 while (a)
8 if (d) {
9 int e = -d;
10 for (; b < e; b++)
11 c[b] = &a;
12 } else {
13 for (; b; b++)
14 c[b] = &b;
15 d = 0;