1 /* PR rtl-optimization/59166 */ 2 /* { dg-additional-options "-fcompare-debug" } */ 3 /* { dg-xfail-if "AIX compare debug" { powerpc-ibm-aix* } } */ 4 5 int a, b, c, f, g; 6 7 void foo()8foo () 9 { 10 for (; b; b++) 11 for (; f; f = g) 12 for (; a;) 13 ; 14 } 15 16 static int bar(int p)17bar (int p) 18 { 19 short d; 20 if (c) 21 { 22 for (; f; f = g); 23 foo (); 24 d = p; 25 char e = d; 26 if (p) 27 return 1; 28 } 29 return p; 30 } 31 32 int main()33main () 34 { 35 bar (0); 36 bar (g); 37 return 0; 38 } 39