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

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

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

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(+)
  

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>