diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr42629.c | 3 |
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* } { "*" } { "" } } */ |