libgcc: Fix a warning/error in libgcc2.c [PR117624]
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / unroll-1.c
blob5606978539fed272ed9d2d67918e06b56f0052c8
1 /* { dg-options "-fgnu89-inline" } */
3 extern void abort (void);
4 extern void exit (int);
6 inline int
7 f (int x)
9 return (x + 1);
12 int
13 main (void)
15 int a = 0 ;
17 while ( (f(f(f(f(f(f(f(f(f(f(1))))))))))) + a < 12 )
19 a++;
20 exit (0);
22 if (a != 1)
23 abort();