modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/unroll-1.c (about) 1 /* { dg-options "-fgnu89-inline" } */ 2 3 extern void abort (void); 4 extern void exit (int); 5 6 inline int 7 f (int x) 8 { 9 return (x + 1); 10 } 11 12 int 13 main (void) 14 { 15 int a = 0 ; 16 17 while ( (f(f(f(f(f(f(f(f(f(f(1))))))))))) + a < 12 ) 18 { 19 a++; 20 exit (0); 21 } 22 if (a != 1) 23 abort(); 24 }