Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/20020927-1.c

raw
1 /* PR optimization/7520 */
2 /* ICE at -O3 on x86 due to register life problems caused by
3 the return-without-value in bar. */
4 /* { dg-additional-options "-std=gnu89" } */
5
6 int
7 foo ()
8 {
9 int i;
10 long long int j;
11
12 while (1)
13 {
14 if (j & 1)
15 ++i;
16 j >>= 1;
17 if (j)
18 return i;
19 }
20 }
21
22 int
23 bar ()
24 {
25 if (foo ())
26 return;
27 }