gcc/testsuite/gcc.target/powerpc/pr79947.c
raw| 1 | /* { dg-do compile { target { powerpc*-*-* } } } */ |
| 2 | /* { dg-options "-Ofast -mno-powerpc-gfxopt -mcmpb -mno-vsx" } */ |
| 3 | |
| 4 | /* PR 79949: Compiler segmentation fault due to not having conditional move |
| 5 | support for the target if the -mno-powerpc-gfxopt option is used. */ |
| 6 | |
| 7 | float a, b; |
| 8 | void |
| 9 | c () |
| 10 | { |
| 11 | a = __builtin_sqrtf (b); |
| 12 | } |