* [committed] testsuite: gcc.dg/pr108117.c: Require effective-target scheduling
@ 2023-03-10 22:52 Hans-Peter Nilsson
0 siblings, 0 replies; only message in thread
From: Hans-Peter Nilsson @ 2023-03-10 22:52 UTC (permalink / raw)
To: gcc-patches
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 --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>
--
2.30.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-10 22:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 22:52 [committed] testsuite: gcc.dg/pr108117.c: Require effective-target scheduling Hans-Peter Nilsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).