* gcc.dg/pr42629.c: Only pass scheduling options on scheduling targets.
authorHans-Peter Nilsson <hp@bitrange.com>
Mon, 5 Jan 2015 01:08:40 +0000 (01:08 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Mon, 5 Jan 2015 01:08:40 +0000 (01:08 +0000)
From-SVN: r219180

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr42629.c

index 774a429e67ae3ecbc6fcc86cc1f7c4d7904be0e3..408b501bae0d5c5101ebbcce364d3af3466aca79 100644 (file)
@@ -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
index a5eeb0cc1ec444008b03e7fe67f5a2cfc396070a..40e92985e6ce18ce243a7925f5c02cabe4b39ea0 100644 (file)
@@ -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* } { "*" } { "" } } */