1 /* PR debug/48768 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O -fcompare-debug" } */ 4 5 int a, b; 6 7 int bar(void)8bar (void) 9 { 10 int i, j = 1; 11 for (i = 0; i != 10; i++) 12 { 13 lab: 14 if (i) 15 { 16 int *k = &j; 17 } 18 else if (j) 19 goto lab; 20 } 21 return 1; 22 } 23 24 inline int foo(int x)25foo (int x) 26 { 27 unsigned int c = x; 28 int d = x; 29 if (bar ()) 30 for (; c; c++) 31 while (x >= 0) 32 if (foo (d) >= 0) 33 { 34 d = bar (); 35 a = b ? b : 1; 36 } 37 return 0; 38 } 39