☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
loop-4b.c
☽
☼
gcc/testsuite/gcc.c-torture/execute/loop-4b.c
code
plain
raw
1
void abort (void);
2
void exit (int);
3
4
int
5
f()
6
{
7
int j = 1;
8
long i;
9
i = 0x60000000L;
10
do
11
{
12
j <<= 1;
13
i += 0x10000000L;
14
} while (i < -0x60000000L);
15
return j;
16
}
17
18
int
19
main ()
20
{
21
if (f () != 2)
22
abort ();
23
exit (0);
24
}