From ec2c793b5a44a9bc418030d4701bd121d9dd6bda Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 5 Jan 2015 01:08:40 +0000 Subject: [PATCH] * gcc.dg/pr42629.c: Only pass scheduling options on scheduling targets. From-SVN: r219180 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/pr42629.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 774a429e67a..408b501bae0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-01-05 Hans-Peter Nilsson + + * gcc.dg/pr42629.c: Only pass scheduling options on scheduling targets. + 2015-01-03 John David Anglin PR testsuite/62250 diff --git a/gcc/testsuite/gcc.dg/pr42629.c b/gcc/testsuite/gcc.dg/pr42629.c index a5eeb0cc1ec..40e92985e6c 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* } { "*" } { "" } } */ -- 2.30.2