gcc/testsuite/gcc.target/powerpc/pr104208-2.c
raw| 1 | /* PR target/104208 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O2 -mlong-double-128 -mabi=ieeelongdouble -mlong-double-64 -mno-vsx -Wno-psabi" } */ |
| 4 | |
| 5 | /* Verify we do not emit an error with the options above. IEEE 128-bit |
| 6 | long double requires VSX, so using -mno-vsx would normally generate |
| 7 | an error. However, if we have changed to a 64-bit long double, then |
| 8 | we should allow it. */ |
| 9 | |
| 10 | int i; |