1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fno-ira-share-save-slots" } */ 3 4 struct A {}; 5 6 int foo(); 7 bar(double x)8 struct A bar(double x) 9 { 10 double y; 11 if (foo()) 12 y = 1 / x; 13 return bar(y); 14 } 15