From: Christophe Lyon Date: Mon, 6 Nov 2017 10:40:43 +0000 (+0000) Subject: [testsuite] Fix directives order X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=caa3209ec286d48a267d347cd95bfd34c17ac1e3;p=gcc.git [testsuite] Fix directives order 2017-11-06 Christophe Lyon * gcc.c-torture/execute/pr23135.c: Move dg-add-options after dg-options. * gcc.dg/torture/pr78305.c: Move dg-do as first directive. * gcc.misc-tests/gcov-3.c: Likewise. * gcc.target/arm/cmse/baseline/cmse-11.c: Move dg-options before dg-add-options. * 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. * gcc.target/arm/lp1189445.c: Likewise. From-SVN: r254445 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b56ace44321..ceb0f430126 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,35 @@ +2017-11-06 Christophe Lyon + + * gcc.c-torture/execute/pr23135.c: Move dg-add-options after + dg-options. + * gcc.dg/torture/pr78305.c: Move dg-do as first directive. + * gcc.misc-tests/gcov-3.c: Likewise. + * gcc.target/arm/cmse/baseline/cmse-11.c: Move dg-options before dg-add-options. + * 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. + * gcc.target/arm/lp1189445.c: Likewise. + 2017-11-06 Mukesh Kapoor PR c++/80955 diff --git a/gcc/testsuite/gcc.c-torture/execute/pr23135.c b/gcc/testsuite/gcc.c-torture/execute/pr23135.c index 8dd6358e9b4..e740ff52874 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr23135.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr23135.c @@ -1,9 +1,8 @@ -/* { dg-add-options stack_size } */ - /* Based on execute/simd-1.c, modified by joern.rennecke@st.com to trigger a reload bug. Verified for gcc mainline from 20050722 13:00 UTC for sh-elf -m4 -O2. */ /* { dg-options "-Wno-psabi" } */ +/* { dg-add-options stack_size } */ #ifndef STACK_SIZE #define STACK_SIZE (256*1024) diff --git a/gcc/testsuite/gcc.dg/torture/pr78305.c b/gcc/testsuite/gcc.dg/torture/pr78305.c index ccb8c6faa78..36d3620179e 100644 --- a/gcc/testsuite/gcc.dg/torture/pr78305.c +++ b/gcc/testsuite/gcc.dg/torture/pr78305.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target int32plus } */ /* { dg-do run } */ +/* { dg-require-effective-target int32plus } */ int main () { diff --git a/gcc/testsuite/gcc.misc-tests/gcov-3.c b/gcc/testsuite/gcc.misc-tests/gcov-3.c index eb6e4cc46bf..5b07dd74bd1 100644 --- a/gcc/testsuite/gcc.misc-tests/gcov-3.c +++ b/gcc/testsuite/gcc.misc-tests/gcov-3.c @@ -1,10 +1,10 @@ +/* { dg-do run { target native } } */ /* { dg-require-effective-target label_values } */ /* Test Gcov with computed gotos. This is the same as test gcc.c-torture/execute/980526-1.c */ /* { dg-options "-fprofile-arcs -ftest-coverage" } */ -/* { dg-do run { target native } } */ extern void abort (void); extern void exit (int); 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 3007409ad88..795544fe11d 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,7 @@ /* { dg-do compile } */ +/* { dg-options "-mcmse" } */ /* { dg-require-effective-target arm_arch_v8m_base_ok } */ /* { dg-add-options arm_arch_v8m_base } */ -/* { dg-options "-mcmse" } */ 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 f2b931be591..8ced14b54f9 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,7 @@ /* { dg-do compile } */ +/* { dg-options "-mcmse" } */ /* { dg-require-effective-target arm_arch_v8m_base_ok } */ /* { dg-add-options arm_arch_v8m_base } */ -/* { dg-options "-mcmse" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (float, double); 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 814502d4e5d..fec7dc10484 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,7 @@ /* { dg-do compile } */ +/* { dg-options "-mcmse" } */ /* { dg-require-effective-target arm_arch_v8m_base_ok } */ /* { dg-add-options arm_arch_v8m_base } */ -/* { dg-options "-mcmse" } */ 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 95da045690a..43d45e7a63e 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,7 @@ /* { dg-do compile } */ +/* { dg-options "-mcmse" } */ /* { dg-require-effective-target arm_arch_v8m_base_ok } */ /* { dg-add-options arm_arch_v8m_base } */ -/* { dg-options "-mcmse" } */ 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 0069fcdaebf..ca76e12cd92 100644 --- a/gcc/testsuite/gcc.target/arm/cmse/baseline/softfp.c +++ b/gcc/testsuite/gcc.target/arm/cmse/baseline/softfp.c @@ -1,7 +1,7 @@ /* { 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 } */ -/* { dg-options "-mcmse -mfloat-abi=softfp" } */ double __attribute__ ((cmse_nonsecure_call)) (*bar) (float, double); 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 d90ad811fc1..a484cfee70b 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,9 +1,9 @@ /* { 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"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (float, double); 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 88dec276281..ebc080ac7ac 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,9 +1,9 @@ /* { 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"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16" } */ extern float bar (void); 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 c047cd51c94..4fabd458863 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,9 +1,9 @@ /* { 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"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (void); 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 20d2d4a8fb1..9b18c3a8629 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,9 +1,9 @@ /* { 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"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-sp-d16" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (double); 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 0af586a7fd1..36e301a446b 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,9 +1,9 @@ /* { 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-*"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-d16" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (float, double); 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 29f60baf521..5a7fb04f095 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,9 +1,9 @@ /* { 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-*"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-d16" } */ extern float bar (void); 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 a5c64fb06ed..ff775795886 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,9 +1,9 @@ /* { 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-*"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-d16" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (void); 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 5e041b17b0e..dce0d90cec7 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,9 +1,9 @@ /* { 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-*"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=hard -mfpu=fpv5-d16" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (double); 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 dbbd262c890..fe2ac47f710 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,8 +1,8 @@ /* { 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 } {""} } */ -/* { dg-options "-mcmse -mfloat-abi=soft" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (float, double); 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 a7229ea8eb2..dff8baa1b9d 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,8 +1,8 @@ /* { 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 } {""} } */ -/* { dg-options "-mcmse -mfloat-abi=soft" } */ extern float bar (void); 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 e33568400ef..a451f7a381d 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,8 +1,8 @@ /* { 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 } {""} } */ -/* { dg-options "-mcmse -mfloat-abi=soft" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (void); 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 024a12e0a41..6502fb7b11d 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,8 +1,8 @@ /* { 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 } {""} } */ -/* { dg-options "-mcmse -mfloat-abi=soft" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (double); 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 7734d77dc38..c14ef434fa7 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,9 +1,9 @@ /* { 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"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-sp-d16" } */ extern float bar (void); 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 fb195eb58d5..db17035547b 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,9 +1,9 @@ /* { 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"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-sp-d16" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (void); 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 22ed3f8af88..27acb9e055a 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,9 +1,9 @@ /* { 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"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-sp-d16" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (double); 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 9634065e7cb..97aba0d7775 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,9 +1,9 @@ /* { 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-*"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-d16" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (float, double); 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 6addaa1a4ed..5db888037dd 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,9 +1,9 @@ /* { 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-*"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-d16" } */ extern float bar (void); 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 04f8466cc11..c4d678d5cce 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,9 +1,9 @@ /* { 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-*"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-d16" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (void); 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 ffe94de8541..948476d3224 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,9 +1,9 @@ /* { 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-*"} {""} } */ -/* { dg-options "-mcmse -mfloat-abi=softfp -mfpu=fpv5-d16" } */ int __attribute__ ((cmse_nonsecure_call)) (*bar) (double); diff --git a/gcc/testsuite/gcc.target/arm/lp1189445.c b/gcc/testsuite/gcc.target/arm/lp1189445.c index 766748e5509..4866953558a 100644 --- a/gcc/testsuite/gcc.target/arm/lp1189445.c +++ b/gcc/testsuite/gcc.target/arm/lp1189445.c @@ -1,7 +1,7 @@ /* { dg-do compile } */ +/* { dg-options "-O3" } */ /* { dg-require-effective-target arm_neon } */ /* { dg-add-options arm_neon } */ -/* { dg-options "-O3" } */ int id; int