public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6600] testsuite: gcc.dg/pr106397.c: Add -w to options
@ 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:b6503c707cb846035902a4b7a58d78360d2a6488
commit r13-6600-gb6503c707cb846035902a4b7a58d78360d2a6488
Author: Hans-Peter Nilsson <hp@axis.com>
Date: Fri Mar 10 17:04:43 2023 +0100
testsuite: gcc.dg/pr106397.c: Add -w to options
Targets that don't support prefetching get a warning:
cc1: warning: '-fprefetch-loop-arrays' not supported for this target
Align with other tests passing -fprefetch-loop-arrays for
all targets: add "-w" to options.
* gcc.dg/pr106397.c: Add -w to options.
Diff:
---
gcc/testsuite/gcc.dg/pr106397.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/pr106397.c b/gcc/testsuite/gcc.dg/pr106397.c
index 2bc17f8cf80..2dd04b87077 100644
--- a/gcc/testsuite/gcc.dg/pr106397.c
+++ b/gcc/testsuite/gcc.dg/pr106397.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O3 -fprefetch-loop-arrays --param l2-cache-size=0 --param prefetch-latency=3 -fprefetch-loop-arrays" } */
+/* { dg-options "-O3 -fprefetch-loop-arrays -w --param l2-cache-size=0 --param prefetch-latency=3 -fprefetch-loop-arrays" } */
/* { dg-additional-options "-march=i686 -msse" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
int
^ 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-6600] testsuite: gcc.dg/pr106397.c: Add -w to options 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).