PR target/55146
[official-gcc.git] / gcc / testsuite / gcc.dg / pr47899.c
blobc83bb85e314ca2d9dc751f530a65326af3256cb8
1 /* PR rtl-optimization/47899 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -funroll-loops" } */
5 extern unsigned int a, b, c;
6 extern int d;
8 static int
9 foo (void)
11 lab:
12 if (b)
13 for (d = 0; d >= 0; d--)
14 if (a || c)
15 for (; c; c++)
17 else
18 goto lab;
21 int
22 main ()
24 foo ();
25 return 0;