[gcc r17-3831] Fix sloppy PR119160 test
Georg-Johann Lay
gjl@gcc.gnu.org
Tue Sep 1 18:08:59 GMT 2026
https://gcc.gnu.org/g:35cd50c6bacbd33be7af81fddfcadfc1ca48a3b1
commit r17-3831-g35cd50c6bacbd33be7af81fddfcadfc1ca48a3b1
Author: Georg-Johann Lay <avr@gjlay.de>
Date: Tue Sep 1 20:06:35 2026 +0200
Fix sloppy PR119160 test
gcc.dg/pr119160 failed with
FAIL: gcc.dg/pr119160.c (test for excess errors)
Excess errors:
cc1: warning: instruction scheduling not supported on this target machine
gcc/testsuite/
PR testsuite/119160
* gcc.dg/pr119160.c: Require scheduling.
Diff:
---
gcc/testsuite/gcc.dg/pr119160.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/pr119160.c b/gcc/testsuite/gcc.dg/pr119160.c
index c3d9b811f163..30146b21148d 100644
--- a/gcc/testsuite/gcc.dg/pr119160.c
+++ b/gcc/testsuite/gcc.dg/pr119160.c
@@ -1,4 +1,4 @@
-/* { dg-do run } */
+/* { dg-do run { target { scheduling } } } */
/* { dg-options "-O2 -finstrument-functions-once -favoid-store-forwarding -fnon-call-exceptions -fschedule-insns -Wno-psabi" } */
/* { dg-additional-options "-mgeneral-regs-only" { target { x86_64-*-* i?86-*-* arm*-*-* aarch64*-*-* } } } */
More information about the Gcc-cvs
mailing list