PR middle-end/30262
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / loop-3b.c
blob3de322cf146785dd7bf620f19ed86f7aafd0ad88
1 #include <limits.h>
3 int n = 0;
5 g (i)
7 n++;
10 f (m)
12 int i;
13 i = m;
16 g (i * 4);
17 i -= INT_MAX / 8;
19 while (i > 0);
22 main ()
24 f (INT_MAX/8*4);
25 if (n != 4)
26 abort ();
27 exit (0);