gcc/testsuite/gcc.target/powerpc/pr116170.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target ppc_float128_sw } */ |
| 3 | /* { dg-options "-mdejagnu-cpu=power8 -O2 -fstack-protector-strong -ffloat-store -std=gnu17" } */ |
| 4 | |
| 5 | /* Verify there is no ICE. */ |
| 6 | |
| 7 | int a, d; |
| 8 | _Float128 b, c; |
| 9 | void |
| 10 | e () |
| 11 | { |
| 12 | int f = 0; |
| 13 | if (a) |
| 14 | if (b || c) |
| 15 | f = 1; |
| 16 | if (d) |
| 17 | e (f ? 0 : b); |
| 18 | } |