public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6601] testsuite: gcc.dg/pr108117.c: Require effective-target scheduling
@ 2023-03-10 22:48 Hans-Peter Nilsson
0 siblings, 0 replies; only message in thread
From: Hans-Peter Nilsson @ 2023-03-10 22:48 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:88bcd4e5678260bfd60c6cbc7ecb63b8aeafd20e
commit r13-6601-g88bcd4e5678260bfd60c6cbc7ecb63b8aeafd20e
Author: Hans-Peter Nilsson <hp@axis.com>
Date: Fri Mar 10 17:38:42 2023 +0100
testsuite: gcc.dg/pr108117.c: Require effective-target scheduling
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.
Diff:
---
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 ae151693e2f..4b3bebe229e 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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-10 22:48 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:48 [gcc r13-6601] 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).