diff mbox

Fix gcc.dg/pr42629.c for non-scheduling targets.

Message ID alpine.BSF.2.02.1501042009080.21693@arjuna.pair.com
State New
Headers show

Commit Message

Hans-Peter Nilsson Jan. 5, 2015, 1:09 a.m. UTC
Failed ever since added for non-scheduling targets due to:
/x/gcc/testsuite/gcc.dg/pr42629.c:1:0: warning: instruction scheduling not supported on this target machine
Committed as obvious.

	* gcc.dg/pr42629.c: Only pass scheduling options on scheduling targets.

brgds, H-P
diff mbox

Patch

Index: pr42629.c
===================================================================
--- pr42629.c	(revision 219179)
+++ pr42629.c	(working copy)
@@ -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* } { "*" } { "" } } */