From: Thomas Preud'homme Date: Fri, 17 Nov 2017 10:01:21 +0000 (+0000) Subject: [ARM] Fix selection of effective target for cmse tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cdee9e6b79a553ff5648af2c554f3806d5719968;p=gcc.git [ARM] Fix selection of effective target for cmse tests Some of the tests in the gcc.target/arm/cmse directory (eg. gcc.target/arm/cmse/mainline/bitfield-4.c) are failing when run without an architecture specified in RUNTESTFLAGS due to them not adding the option to select an Armv8-M architecture. This patch fixes the issue by adding the right option from the exp file so that no architecture fiddling is necessary in the individual tests. 2017-11-17 Thomas Preud'homme gcc/testsuite/ * gcc.target/arm/cmse/cmse.exp: Add option to select Armv8-M Baseline or Armv8-M Mainline when running the respective tests. * gcc.target/arm/cmse/baseline/cmse-11.c: Remove architecture check and selection. * gcc.target/arm/cmse/baseline/cmse-13.c: Likewise. * gcc.target/arm/cmse/baseline/cmse-2.c: Likewise. * gcc.target/arm/cmse/baseline/cmse-6.c: Likewise. * gcc.target/arm/cmse/baseline/softfp.c: Likewise. * gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c: Likewise. * gcc.target/arm/cmse/mainline/hard-sp/cmse-5.c: Likewise. * gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c: Likewise. * gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c: Likewise. * gcc.target/arm/cmse/mainline/hard/cmse-13.c: Likewise. * gcc.target/arm/cmse/mainline/hard/cmse-5.c: Likewise. * gcc.target/arm/cmse/mainline/hard/cmse-7.c: Likewise. * gcc.target/arm/cmse/mainline/hard/cmse-8.c: Likewise. * gcc.target/arm/cmse/mainline/soft/cmse-13.c: Likewise. * gcc.target/arm/cmse/mainline/soft/cmse-5.c: Likewise. * gcc.target/arm/cmse/mainline/soft/cmse-7.c: Likewise. * gcc.target/arm/cmse/mainline/soft/cmse-8.c: Likewise. * gcc.target/arm/cmse/mainline/softfp-sp/cmse-5.c: Likewise. * gcc.target/arm/cmse/mainline/softfp-sp/cmse-7.c: Likewise. * gcc.target/arm/cmse/mainline/softfp-sp/cmse-8.c: Likewise. * gcc.target/arm/cmse/mainline/softfp/cmse-13.c: Likewise. * gcc.target/arm/cmse/mainline/softfp/cmse-5.c: Likewise. * gcc.target/arm/cmse/mainline/softfp/cmse-7.c: Likewise. * gcc.target/arm/cmse/mainline/softfp/cmse-8.c: Likewise. From-SVN: r254860 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 941b0c0f514..a2592119797 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,33 @@ +2017-11-17 Thomas Preud'homme + + * gcc.target/arm/cmse/cmse.exp: Add option to select Armv8-M Baseline + or Armv8-M Mainline when running the respective tests. + * gcc.target/arm/cmse/baseline/cmse-11.c: Remove architecture check and + selection. + * gcc.target/arm/cmse/baseline/cmse-13.c: Likewise. + * gcc.target/arm/cmse/baseline/cmse-2.c: Likewise. + * gcc.target/arm/cmse/baseline/cmse-6.c: Likewise. + * gcc.target/arm/cmse/baseline/softfp.c: Likewise. + * gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c: Likewise. + * gcc.target/arm/cmse/mainline/hard-sp/cmse-5.c: Likewise. + * gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c: Likewise. + * gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c: Likewise. + * gcc.target/arm/cmse/mainline/hard/cmse-13.c: Likewise. + * gcc.target/arm/cmse/mainline/hard/cmse-5.c: Likewise. + * gcc.target/arm/cmse/mainline/hard/cmse-7.c: Likewise. + * gcc.target/arm/cmse/mainline/hard/cmse-8.c: Likewise. + * gcc.target/arm/cmse/mainline/soft/cmse-13.c: Likewise. + * gcc.target/arm/cmse/mainline/soft/cmse-5.c: Likewise. + * gcc.target/arm/cmse/mainline/soft/cmse-7.c: Likewise. + * gcc.target/arm/cmse/mainline/soft/cmse-8.c: Likewise. + * gcc.target/arm/cmse/mainline/softfp-sp/cmse-5.c: Likewise. + * gcc.target/arm/cmse/mainline/softfp-sp/cmse-7.c: Likewise. + * gcc.target/arm/cmse/mainline/softfp-sp/cmse-8.c: Likewise. + * gcc.target/arm/cmse/mainline/softfp/cmse-13.c: Likewise. + * gcc.target/arm/cmse/mainline/softfp/cmse-5.c: Likewise. + * gcc.target/arm/cmse/mainline/softfp/cmse-7.c: Likewise. + * gcc.target/arm/cmse/mainline/softfp/cmse-8.c: Likewise. + 2017-11-17 Jakub Jelinek PR testsuite/82997 diff --git a/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-11.c b/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-11.c index 795544fe11d..230b255963f 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-11.c +++ b/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-11.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse" } */ -/* { dg-require-effective-target arm_arch_v8m_base_ok } */ -/* { dg-add-options arm_arch_v8m_base } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (int); diff --git a/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-13.c b/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-13.c index 7208a2cedd2..7ab3219e860 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-13.c +++ b/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-13.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse" } */ -/* { dg-require-effective-target arm_arch_v8m_base_ok } */ -/* { dg-add-options arm_arch_v8m_base } */ #include "../cmse-13.x" diff --git a/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-2.c b/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-2.c index fec7dc10484..d5115ecf2bd 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-2.c +++ b/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-2.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse" } */ -/* { dg-require-effective-target arm_arch_v8m_base_ok } */ -/* { dg-add-options arm_arch_v8m_base } */ extern float bar (void); diff --git a/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-6.c b/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-6.c index 43d45e7a63e..cae4f343621 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-6.c +++ b/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-6.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse" } */ -/* { dg-require-effective-target arm_arch_v8m_base_ok } */ -/* { dg-add-options arm_arch_v8m_base } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (double); diff --git a/gcc/testsuite/gcc.target/arm/cmse/baseline/softfp.c b/gcc/testsuite/gcc.target/arm/cmse/baseline/softfp.c index ca76e12cd92..3d383ff6ee1 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/baseline/softfp.c +++ b/gcc/testsuite/gcc.target/arm/cmse/baseline/softfp.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=softfp" } */ -/* { dg-require-effective-target arm_arch_v8m_base_ok } */ -/* { dg-add-options arm_arch_v8m_base } */ double __attribute__ ((cmse_nonsecure_call)) (*bar) (float, double); diff --git a/gcc/testsuite/gcc.target/arm/cmse/cmse.exp b/gcc/testsuite/gcc.target/arm/cmse/cmse.exp index 5b0f84bd07e..797df724c88 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/cmse.exp +++ b/gcc/testsuite/gcc.target/arm/cmse/cmse.exp @@ -45,24 +45,26 @@ gcc-dg-runtest [lsort [glob $srcdir/$subdir/*.c]] \ if {[check_effective_target_arm_arch_v8m_base_ok]} then { # Baseline only + set BASELINE_FLAGS [add_options_for_arm_arch_v8m_base ""] gcc-dg-runtest [lsort [glob $srcdir/$subdir/baseline/*.c]] \ - "" $DEFAULT_CFLAGS + "$BASELINE_FLAGS" $DEFAULT_CFLAGS } if {[check_effective_target_arm_arch_v8m_main_ok]} then { + set MAINLINE_FLAGS [add_options_for_arm_arch_v8m_main ""] gcc-dg-runtest [lsort [glob $srcdir/$subdir/mainline/*.c]] \ - "" $DEFAULT_CFLAGS + "$MAINLINE_FLAGS" $DEFAULT_CFLAGS # Mainline -mfloat-abi=soft gcc-dg-runtest [lsort [glob $srcdir/$subdir/mainline/soft/*.c]] \ - "-mfloat-abi=soft" $DEFAULT_CFLAGS + "$MAINLINE_FLAGS -mfloat-abi=soft" $DEFAULT_CFLAGS gcc-dg-runtest [lsort [glob $srcdir/$subdir/mainline/softfp/*.c]] \ - "" $DEFAULT_CFLAGS + "$MAINLINE_FLAGS" $DEFAULT_CFLAGS gcc-dg-runtest [lsort [glob $srcdir/$subdir/mainline/softfp-sp/*.c]] \ - "" $DEFAULT_CFLAGS + "$MAINLINE_FLAGS" $DEFAULT_CFLAGS gcc-dg-runtest [lsort [glob $srcdir/$subdir/mainline/hard/*.c]] \ - "" $DEFAULT_CFLAGS + "$MAINLINE_FLAGS" $DEFAULT_CFLAGS gcc-dg-runtest [lsort [glob $srcdir/$subdir/mainline/hard-sp/*.c]] \ - "" $DEFAULT_CFLAGS + "$MAINLINE_FLAGS" $DEFAULT_CFLAGS } set LTO_TORTURE_OPTIONS ${saved-lto_torture_options} diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c index 6f4d6b4b755..4548da8848a 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=softfp } {""} } */ /* { dg-skip-if "Skip these if testing double precision" {*-*-*} {"-mfpu=fpv[4-5]-d16"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-5.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-5.c index 0ae2a51990b..e946276bab7 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-5.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-5.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=softfp } {""} } */ /* { dg-skip-if "Skip these if testing double precision" {*-*-*} {"-mfpu=fpv[4-5]-d16"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c index 141ba73484c..bc7c15c2ca6 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=softfp } {""} } */ /* { dg-skip-if "Skip these if testing double precision" {*-*-*} {"-mfpu=fpv[4-5]-d16"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c index 6c5e688f220..1dd62c90bea 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=softfp } {""} } */ /* { dg-skip-if "Skip these if testing double precision" {*-*-*} {"-mfpu=fpv[4-5]-d16"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-13.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-13.c index d35321bfda8..ee984a96f04 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-13.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-13.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=softfp } {""} } */ /* { dg-skip-if "Skip these if testing single precision" {*-*-*} {"-mfpu=*-sp-*"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-5.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-5.c index 955f749cb72..863b412f916 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-5.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-5.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=softfp } {""} } */ /* { dg-skip-if "Skip these if testing single precision" {*-*-*} {"-mfpu=*-sp-*"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-7.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-7.c index 858555b8d89..ce4b18df3b3 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-7.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-7.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=softfp } {""} } */ /* { dg-skip-if "Skip these if testing single precision" {*-*-*} {"-mfpu=*-sp-*"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-8.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-8.c index f85d68a3eff..5368d924d9b 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-8.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-8.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=softfp } {""} } */ /* { dg-skip-if "Skip these if testing single precision" {*-*-*} {"-mfpu=*-sp-*"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-13.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-13.c index 11d44550de9..778801f8efe 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-13.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-13.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=soft" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=hard" -mfloat-abi=softfp } {""} } */ #include "../../cmse-13.x" diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-5.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-5.c index dfd2fe6323a..6c326edd6c7 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-5.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-5.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=soft" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=hard" -mfloat-abi=softfp } {""} } */ #include "../../cmse-5.x" diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-7.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-7.c index 76ca271278e..5c9539fcf03 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-7.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-7.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=soft" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=hard" -mfloat-abi=softfp } {""} } */ #include "../../cmse-7.x" diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-8.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-8.c index a917aa7778a..0947c9bf35b 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-8.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-8.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=soft" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=hard" -mfloat-abi=softfp } {""} } */ #include "../../cmse-8.x" diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-5.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-5.c index 01e5d659fe2..9f5466dfd78 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-5.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-5.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-sp-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=hard } {""} } */ /* { dg-skip-if "Skip these if testing double precision" {*-*-*} {"-mfpu=fpv[4-5]-d16"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-7.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-7.c index 5d904786e41..792d444d0c0 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-7.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-7.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-sp-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=hard } {""} } */ /* { dg-skip-if "Skip these if testing double precision" {*-*-*} {"-mfpu=fpv[4-5]-d16"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-8.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-8.c index 3feee43c423..2d9797b2b93 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-8.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-8.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-sp-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=hard } {""} } */ /* { dg-skip-if "Skip these if testing double precision" {*-*-*} {"-mfpu=fpv[4-5]-d16"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-13.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-13.c index 4eb984f4479..56b88f893d0 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-13.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-13.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=hard } {""} } */ /* { dg-skip-if "Skip these if testing single precision" {*-*-*} {"-mfpu=*-sp-*"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-5.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-5.c index 4815a480f66..7aa35f03a68 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-5.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-5.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=hard } {""} } */ /* { dg-skip-if "Skip these if testing single precision" {*-*-*} {"-mfpu=*-sp-*"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-7.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-7.c index 5535c5514b1..45be75f5e0a 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-7.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-7.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=hard } {""} } */ /* { dg-skip-if "Skip these if testing single precision" {*-*-*} {"-mfpu=*-sp-*"} {""} } */ diff --git a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-8.c b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-8.c index 6663fc43f5f..f98e9db8274 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-8.c +++ b/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-8.c @@ -1,7 +1,5 @@ /* { dg-do compile } */ /* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-d16" } */ -/* { dg-require-effective-target arm_arch_v8m_main_ok } */ -/* { dg-add-options arm_arch_v8m_main } */ /* { dg-skip-if "Do not combine float-abi= hard | soft | softfp" {*-*-*} {"-mfloat-abi=soft" -mfloat-abi=hard } {""} } */ /* { dg-skip-if "Skip these if testing single precision" {*-*-*} {"-mfpu=*-sp-*"} {""} } */