diff --git a/gcc/testsuite/gcc.target/arm/macro_defs0.c b/gcc/testsuite/gcc.target/arm/macro_defs0.c index 684d49ffafa..17fd157452e 100644 --- a/gcc/testsuite/gcc.target/arm/macro_defs0.c +++ b/gcc/testsuite/gcc.target/arm/macro_defs0.c @@ -1,8 +1,7 @@ /* { 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" } */ +/* { dg-require-effective-target arm_arch_v7m_ok } */ +/* { dg-options "" } */ +/* { dg-add-options arm_arch_v7m } */ #ifdef __ARM_FP #error __ARM_FP should not be defined diff --git a/gcc/testsuite/gcc.target/arm/macro_defs1.c b/gcc/testsuite/gcc.target/arm/macro_defs1.c index 655ba9334f3..bd22154321e 100644 --- a/gcc/testsuite/gcc.target/arm/macro_defs1.c +++ b/gcc/testsuite/gcc.target/arm/macro_defs1.c @@ -1,10 +1,8 @@ /* { dg-do compile } */ -/* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-march=*" } { "-march=armv6-m" } } */ -/* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" } { "" } } */ /* { dg-require-effective-target arm_arch_v6m_ok } */ -/* { dg-options "-march=armv6-m -mthumb" } */ +/* { dg-options "" } */ +/* { dg-add-options arm_arch_v6m } */ #ifdef __ARM_NEON_FP #error __ARM_NEON_FP should not be defined #endif - diff --git a/gcc/testsuite/gcc.target/arm/macro_defs2.c b/gcc/testsuite/gcc.target/arm/macro_defs2.c index 9a960423562..a26fc237611 100644 --- a/gcc/testsuite/gcc.target/arm/macro_defs2.c +++ b/gcc/testsuite/gcc.target/arm/macro_defs2.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ -/* { dg-options "-march=armv7ve -mcpu=cortex-a15 -mfpu=neon-vfpv4" } */ -/* { dg-add-options arm_neon } */ /* { dg-require-effective-target arm_neon_ok } */ +/* { dg-options "" } */ +/* { dg-add-options arm_neon } */ #ifndef __ARM_NEON_FP #error __ARM_NEON_FP is not defined but should be @@ -10,5 +10,3 @@ #ifndef __ARM_FP #error __ARM_FP is not defined but should be #endif - -