PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ldist-34.c
blob3e37b304932ec24d9226b1c0c3c799f15c45dde9
1 /* { dg-do compile { target size32plus } } */
2 /* { dg-options "-O2 -ftree-loop-distribution" } */
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;
14 return 0;