Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/ldist-34.c

raw
1 /* { dg-do compile { target size32plus } } */
2 /* { dg-options "-O2 -ftree-loop-distribution" } */
3
4 #define X (3.0)
5 int b, c;
6 double a[30000];
7 int foo () {
8 for (int i = 0; i < 100; ++i) {
9 for (int j = 0; j < c; ++j)
10 if (b)
11 a[0] = b;
12 a[i * 100] = a[1] = X;
13 }
14 return 0;
15 }