gcc/testsuite/gcc.target/arm/pr98636.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target arm_softfp_ok } */ |
| 3 | /* { dg-require-effective-target arm_fp16_alternative_ok } */ |
| 4 | /* { dg-options "-mfloat-abi=softfp" } */ |
| 5 | /* { dg-add-options arm_fp16_alternative } */ |
| 6 | |
| 7 | #pragma GCC push_options |
| 8 | # pragma GCC target ("arch=armv8.2-a+fp16") /* { dg-error "selected fp16 options are incompatible" } */ |
| 9 | #pragma GCC pop_options |