summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/macro_defs0.c
blob: 684d49ffafa42b5c3bfa084f9aa9ef6a0dbbead1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv7-m" } } */
/* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-mfloat-abi=*" } { "-mfloat-abi=soft" } } */
/* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" } { "" } } */
/* { dg-options "-march=armv7-m -mcpu=cortex-m3 -mfloat-abi=soft -mthumb" } */

#ifdef __ARM_FP
#error __ARM_FP should not be defined
#endif

#ifdef __ARM_NEON_FP
#error __ARM_NEON_FP should not be defined
#endif