aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2015-01-05 01:08:40 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2015-01-05 01:08:40 +0000
commitec2c793b5a44a9bc418030d4701bd121d9dd6bda (patch)
tree4e249886d1d27e2ca9deca9294b90001e892763c
parentfebf67816fde0158037660267c85b36e40a158da (diff)
downloadgcc-ec2c793b5a44a9bc418030d4701bd121d9dd6bda.zip
gcc-ec2c793b5a44a9bc418030d4701bd121d9dd6bda.tar.gz
gcc-ec2c793b5a44a9bc418030d4701bd121d9dd6bda.tar.bz2
* gcc.dg/pr42629.c: Only pass scheduling options on scheduling targets.
From-SVN: r219180
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/pr42629.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 774a429..408b501 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-05 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * gcc.dg/pr42629.c: Only pass scheduling options on scheduling targets.
+
2015-01-03 John David Anglin <danglin@gcc.gnu.org>
PR testsuite/62250
diff --git a/gcc/testsuite/gcc.dg/pr42629.c b/gcc/testsuite/gcc.dg/pr42629.c
index a5eeb0c..40e9298 100644
--- a/gcc/testsuite/gcc.dg/pr42629.c
+++ b/gcc/testsuite/gcc.dg/pr42629.c
@@ -1,7 +1,8 @@
/* This failed -fcompare-debug because register pressure computation
took debug insns into account. */
/* { dg-do compile } */
-/* { dg-options "-O1 -fsched-pressure -fschedule-insns -fcompare-debug" } */
+/* { dg-options "-O1 -fsched-pressure -fschedule-insns -fcompare-debug" { target scheduling } } */
+/* { dg-options "-O1 -fcompare-debug" { target { ! scheduling } } } */
/* { dg-require-effective-target int32plus } */
/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */