libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / pr69728.c
bloba6f385749c21638f2ea61ca60440416f9bb4208b
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -floop-nest-optimize -fdump-tree-graphite-details" } */
4 int a[9];
5 int b, c, d, e;
6 void
7 fn1 ()
9 d = 9;
10 for (; c; c++)
12 ++d;
13 b = 8;
14 for (; b; b--)
16 if (d)
17 break;
18 a[b] = e;
23 /* At the moment only ISL figures that if (d) is always true. We've
24 run into scheduling issues before here, not being able to handle
25 empty domains. */
27 /* { dg-final { scan-tree-dump "loop nest optimized" "graphite" } } */