OSDN Git Service

PR middle-end/40692
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / loop-4b.c
1 int
2 f()
3 {
4   int j = 1;
5   long i;
6   i = 0x60000000L;
7   do
8     {
9       j <<= 1;
10       i += 0x10000000L;
11     } while (i < -0x60000000L);
12   return j;
13 }
14
15 int
16 main ()
17 {
18   if (f () != 2)
19     abort ();
20   exit (0);
21 }