From 253db5538bfa249acd24d3aa30a3e28bcf8046d1 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Thu, 22 Mar 2018 16:39:36 +0000 Subject: [PATCH] [testsuite] Make sure dg-do is before dg-require-effective-target. 2018-03-22 Christophe Lyon gcc/testsuite/ * gcc.target/arm/addr-modes-float.c: Move dg-do before dg-require-effective-target. * gcc.target/arm/addr-modes-int.c: Likewise. * gcc.target/nios2/lo-addr-tls.c: Likewise. From-SVN: r258776 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.target/arm/addr-modes-float.c | 2 +- gcc/testsuite/gcc.target/arm/addr-modes-int.c | 4 ++-- gcc/testsuite/gcc.target/nios2/lo-addr-tls.c | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 737afb1f996..20336c0a71b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2018-03-22 Christophe Lyon + + * gcc.target/arm/addr-modes-float.c: Move dg-do before + dg-require-effective-target. + * gcc.target/arm/addr-modes-int.c: Likewise. + * gcc.target/nios2/lo-addr-tls.c: Likewise. + 2018-03-22 Kelvin Nilsen PR target/84760 diff --git a/gcc/testsuite/gcc.target/arm/addr-modes-float.c b/gcc/testsuite/gcc.target/arm/addr-modes-float.c index 5ffbcb1c1c2..4527dd3b4fb 100644 --- a/gcc/testsuite/gcc.target/arm/addr-modes-float.c +++ b/gcc/testsuite/gcc.target/arm/addr-modes-float.c @@ -1,7 +1,7 @@ +/* { dg-do compile } */ /* { dg-options "-O2" } */ /* { dg-require-effective-target arm_neon_ok } */ /* { dg-add-options arm_neon } */ -/* { dg-do compile } */ #include diff --git a/gcc/testsuite/gcc.target/arm/addr-modes-int.c b/gcc/testsuite/gcc.target/arm/addr-modes-int.c index 90b7425cd67..faedca05241 100644 --- a/gcc/testsuite/gcc.target/arm/addr-modes-int.c +++ b/gcc/testsuite/gcc.target/arm/addr-modes-int.c @@ -1,7 +1,7 @@ +/* { dg-do compile } */ /* { dg-options "-O2 -march=armv7-a" } */ -/* { dg-add-options arm_neon } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-do compile } */ +/* { dg-add-options arm_neon } */ #include "addr-modes.h" diff --git a/gcc/testsuite/gcc.target/nios2/lo-addr-tls.c b/gcc/testsuite/gcc.target/nios2/lo-addr-tls.c index d56fbc2ed81..53060a1f546 100644 --- a/gcc/testsuite/gcc.target/nios2/lo-addr-tls.c +++ b/gcc/testsuite/gcc.target/nios2/lo-addr-tls.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target tls } */ /* { dg-do compile } */ +/* { dg-require-effective-target tls } */ /* { dg-options "-O2" } */ /* { dg-final { scan-assembler-not "ldw\tr., %lo" } } */ /* { dg-final { scan-assembler-not "stw\tr., %lo" } } */ -- 2.30.2