2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / macro_defs0.c
blob684d49ffafa42b5c3bfa084f9aa9ef6a0dbbead1
1 /* { dg-do compile } */
2 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv7-m" } } */
3 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=soft" } } */
4 /* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" } { "" } } */
5 /* { dg-options "-march=armv7-m -mcpu=cortex-m3 -mfloat-abi=soft -mthumb" } */
7 #ifdef __ARM_FP
8 #error __ARM_FP should not be defined
9 #endif
11 #ifdef __ARM_NEON_FP
12 #error __ARM_NEON_FP should not be defined
13 #endif