Rebase.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr59166.c
blobd29ec33e0f93d0d930ffa4dbf4c8696b867b1e15
1 /* PR rtl-optimization/59166 */
2 /* { dg-additional-options "-fcompare-debug" } */
4 int a, b, c, f, g;
6 void
7 foo ()
9 for (; b; b++)
10 for (; f; f = g)
11 for (; a;)
15 static int
16 bar (int p)
18 short d;
19 if (c)
21 for (; f; f = g);
22 foo ();
23 d = p;
24 char e = d;
25 if (p)
26 return 1;
28 return p;
31 int
32 main ()
34 bar (0);
35 bar (g);
36 return 0;