diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2023-03-10 17:04:43 +0100 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2023-03-10 23:46:45 +0100 |
commit | b6503c707cb846035902a4b7a58d78360d2a6488 (patch) | |
tree | 7939ce8375bc6fd013fe368b31ae15e2efb55802 /gcc | |
parent | c227508d06a63f9b8fede3fd88813accb447060e (diff) | |
download | gcc-b6503c707cb846035902a4b7a58d78360d2a6488.zip gcc-b6503c707cb846035902a4b7a58d78360d2a6488.tar.gz gcc-b6503c707cb846035902a4b7a58d78360d2a6488.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr106397.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr106397.c b/gcc/testsuite/gcc.dg/pr106397.c index 2bc17f8..2dd04b8 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 |