diff mbox series

[committed] testsuite: gcc.dg/pr108117.c: Require effective-target scheduling

Message ID 20230310225234.F162720417@pchp3.se.axis.com
State New
Headers show
Series [committed] testsuite: gcc.dg/pr108117.c: Require effective-target scheduling | expand

Commit Message

Hans-Peter Nilsson March 10, 2023, 10:52 p.m. UTC
Committed as obvious.
-- >8 --
Targets that don't support scheduling get a warning:
cc1: warning: instruction scheduling not supported on this target machine

Do like other target-generic tests unconditionally passing
-fschedule-insns: require effective target scheduling.

	* gcc.dg/pr108117.c: Require effective-target scheduling.
---
 gcc/testsuite/gcc.dg/pr108117.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.dg/pr108117.c b/gcc/testsuite/gcc.dg/pr108117.c
index ae151693e2f9..4b3bebe229e5 100644
--- a/gcc/testsuite/gcc.dg/pr108117.c
+++ b/gcc/testsuite/gcc.dg/pr108117.c
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-require-effective-target nonlocal_goto } */
+/* { dg-require-effective-target scheduling } */
 /* { dg-options "-O2 -fschedule-insns" } */
 
 #include <stdio.h>