gcc/testsuite/gcc.target/powerpc/pr115688.c
raw| 1 | /* { dg-do compile { target powerpc*-*-linux* } } */ |
| 2 | /* { dg-options "-mdejagnu-cpu=power5 -O2" } */ |
| 3 | |
| 4 | /* Ignore some error messages on "target attribute or |
| 5 | pragma changes AltiVec ABI". */ |
| 6 | /* { dg-excess-errors "pr115688" { target ilp32 } } */ |
| 7 | |
| 8 | /* Verify there is no ICE under 32 bit env. */ |
| 9 | |
| 10 | __attribute__((target("vsx"))) |
| 11 | int test (void) |
| 12 | { |
| 13 | return 0; |
| 14 | } |