2 /* { dg-do preprocess } */
3 /* { dg-options "-mdejagnu-cpu=power8 -mno-altivec -w" } */
5 /* Verify _ARCH_PWR8 is defined for -mcpu=power8 and after disabling altivec.
6 The -w option is used to silence the -mno-altivec disables -mvsx warning. */
9 #error "_ARCH_PWR7 should be defined for this test"
13 #error "_ARCH_PWR8 should be defined for this test"
17 #error "_ARCH_PWR9 should not be defined for this test"
21 #error "__ALTIVEC__ should not be defined for this test"
25 #error "__VSX__ should not be defined for this test"