2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20020927-1.c
blobb93d8a18d5e32091148dfab4c9aeea575b30b6a3
1 /* PR optimization/7520 */
2 /* ICE at -O3 on x86 due to register life problems caused by
3 the return-without-value in bar. */
5 int
6 foo ()
8 int i;
9 long long int j;
11 while (1)
13 if (j & 1)
14 ++i;
15 j >>= 1;
16 if (j)
17 return i;
21 int
22 bar ()
24 if (foo ())
25 return;