gcc/testsuite/gcc.target/i386/float16-7.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -msse2 -mfpmath=387 -fexcess-precision=16" } */ |
| 3 | /* { dg-excess-errors "'-fexcess-precision=16' is not compatible with '-mfpmath=387'" } */ |
| 4 | _Float16 |
| 5 | foo (_Float16 a, _Float16 b) |
| 6 | { |
| 7 | return a + b;/* { dg-error "'-fexcess-precision=16' is not compatible with '-mfpmath=387'" } */ |
| 8 | } |
| 9 |