[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / pr27802-1.c
blob839459ac01aa312a2b4364023af40daa044c3572
1 /* Noreturn functions returning FP types used to confuse reg-stack on x86. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 double bar1() __attribute__((noreturn));
6 void foo1() { bar1(); }
8 double bar2() __attribute__((noreturn));
9 double foo2() { return bar2(); }
11 void bar3() __attribute__((noreturn));
12 double foo3() { bar3(); }
14 double bar4() __attribute__((noreturn));
15 double foo4() { bar4(); }