Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr57676.c

raw
1 /* Verify that LRA does not abort prematurely in a release build of the
2 compiler. */
3 /* { dg-do compile } */
4 /* { dg-options "-fpermissive -fno-checking -w -funroll-loops" } */
5
6 int a, b, c;
7
8 void f(p1)
9 {
10 for(;;)
11 {
12 if(p1 ? : (c /= 0))
13 {
14 int d;
15
16 for(; d; d++)
17 {
18 for(b = 0; b < 4; b++)
19 p1 /= p1;
20 lbl:
21 while(a);
22 }
23 }
24
25 if((c &= 1))
26 goto lbl;
27 }
28 }