gcc/testsuite/g++.dg/torture/pr124135-2.C
raw| 1 | // PR tree-optimization/124135 |
| 2 | // { dg-do compile } |
| 3 | |
| 4 | #ifdef __SIZEOF_FLOAT128__ |
| 5 | void foo (char, __float128 *, int); |
| 6 | int qux (int); |
| 7 | |
| 8 | __float128 |
| 9 | bar (int x) |
| 10 | { |
| 11 | __float128 a; |
| 12 | if (x) |
| 13 | foo (0, &a, qux (42)); |
| 14 | return a; |
| 15 | } |
| 16 | |
| 17 | void |
| 18 | baz (int x) |
| 19 | { |
| 20 | bar (x); |
| 21 | } |
| 22 | #else |
| 23 | void |
| 24 | baz () |
| 25 | { |
| 26 | } |
| 27 | #endif |