diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2023-11-14 21:06:52 +0200 |
---|---|---|
committer | Dimitar Dimitrov <dimitar@dinux.eu> | 2023-11-14 21:55:38 +0200 |
commit | 3d8d443c4ebb4de7e141d385d3b5fb6605c4da16 (patch) | |
tree | c2d7bac21bc031cd6ea31f73bde7686b82a81a3e | |
parent | 14979dd31c887ba5ba573f2cdb0647b37e09641a (diff) | |
download | gcc-3d8d443c4ebb4de7e141d385d3b5fb6605c4da16.zip gcc-3d8d443c4ebb4de7e141d385d3b5fb6605c4da16.tar.gz gcc-3d8d443c4ebb4de7e141d385d3b5fb6605c4da16.tar.bz2 |
testsuite: Ignore warning for unsupported option
The -w option was used in gcc.dg/20020206-1.c to ignore warnings if the
'-fprefetch-loop-arrays' option is not supported by target.
When commit r14-5380-g5c432b0efab54e removed the -w option, some targets
(arm-none-eabi, pru and possibly others) started failing the test:
cc1: warning: '-fprefetch-loop-arrays' not supported for this target
FAIL: gcc.dg/20020206-1.c (test for excess errors)
Fix by instructing DejaGnu to prune the '-fprefetch-loop-arrays'
warning.
gcc/testsuite/ChangeLog:
* gcc.dg/20020206-1.c: Prune warning that
-fprefetch-loop-arrays is not supported.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
-rw-r--r-- | gcc/testsuite/gcc.dg/20020206-1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/20020206-1.c b/gcc/testsuite/gcc.dg/20020206-1.c index c8d8b61..a5a9cb0 100644 --- a/gcc/testsuite/gcc.dg/20020206-1.c +++ b/gcc/testsuite/gcc.dg/20020206-1.c @@ -5,6 +5,7 @@ /* { dg-do run } */ /* { dg-options "-O2 -fprefetch-loop-arrays" } */ /* { dg-options "-O2 -fprefetch-loop-arrays -mtune=pentium3" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */ +/* { dg-prune-output ".-fprefetch-loop-arrays. not supported for this target" } */ struct reload |