1 /* PR middle-end/34969 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O -fipa-cp -ffast-math" } */ 4 5 double foo(double x)6 foo (double x) 7 { 8 return x * x; 9 } 10 11 double bar(void)12 bar (void) 13 { 14 return foo (0); 15 } 16