PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr71661.c
blobc273ea1afd6d2924765cd96660cac6c1661356a3
1 /* { dg-do run } */
2 /* { dg-options "-O3 -fdisable-tree-ethread" } */
4 extern void exit (int);
6 int a, b;
8 void
9 fn1 ()
11 unsigned c = 0;
12 int d;
13 b = a;
14 if (a < 0)
15 goto L1;
16 for (; a < 1; a++)
17 d = 0;
18 for (; d < 2; d++)
20 for (c = 0; c < 3; c++)
21 L1:
22 a = 2;
26 int
27 main ()
29 fn1 ();
30 exit (0);