gcc/testsuite/gcc.target/powerpc/altivec-26.c
raw| 1 | /* { dg-do compile { target powerpc*-*-* } } */ |
| 2 | /* { dg-options "-maltivec" } */ |
| 3 | /* { dg-require-effective-target powerpc_altivec } */ |
| 4 | |
| 5 | /* A compiler implementing context-sensitive keywords must define this |
| 6 | preprocessor macro so that altivec.h does not provide the vector, |
| 7 | pixel, etc. macros. */ |
| 8 | |
| 9 | #ifndef __APPLE_ALTIVEC__ |
| 10 | #error __APPLE_ALTIVEC__ not pre-defined |
| 11 | #endif |