PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr56466.c
blob9d9e27356e6ca3f0e7e91810c86b8aab1a9b7a09
1 /* PR rtl-optimization/56466 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -w -funroll-loops" } */
5 int a, b, c;
7 void
8 f (void)
10 for (; b; b++)
12 if (0)
13 for (; b < 0; b++)
14 if (1 % 0)
16 while (1)
18 a = 0;
19 lbl1:
20 c++;
22 lbl2:
26 goto lbl1;
29 a = 0;
30 goto lbl2;