2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr41619.c
blob9c164e3a60faaaf86bfe162d70feafbb25ea42fc
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-ira-share-save-slots" } */
4 struct A {};
6 int foo();
8 struct A bar(double x)
10 double y;
11 if (foo())
12 y = 1 / x;
13 return bar(y);