1 /* { dg-do preprocess { target { i?86-*-* x86_64-*-* } } } */
2 /* { dg-options "-mno-avx" } */
5 #error "__AVX__ should not be defined #1"
8 #pragma GCC target("avx")
10 #error "__AVX__ should be defined #1"
13 #pragma GCC reset_options
15 #error "__AVX__ should not be defined #2"
18 #pragma GCC push_options
19 #pragma GCC target("avx")
21 #error "__AVX__ should be defined #2"
24 #pragma GCC pop_options
26 #error "__AVX__ should not be defined #3"