aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2022-12-02 21:55:24 -0300
committerAlexandre Oliva <oliva@gnu.org>2022-12-02 21:55:24 -0300
commitcebd31757800158704d4a301076027df52418773 (patch)
tree8be1f304637b85b1812f71ed65565a5586dafefe /gcc
parent596dbfff882ec1a0b3c92f9e8bee5b490ca7d5b4 (diff)
downloadgcc-cebd31757800158704d4a301076027df52418773.zip
gcc-cebd31757800158704d4a301076027df52418773.tar.gz
gcc-cebd31757800158704d4a301076027df52418773.tar.bz2
[testsuite] [riscv] uninit-pred-9_b bogus warning
Like other platforms, riscv hits the uninitialized warning because the optimizations don't eliminate the nonviable path that would enable it to be omitted. for gcc/testsuite/ChangeLog * gcc.dg/uninit-pred-9_b.c: Add riscv*-*-* to the xfail list for the bogus warning.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/uninit-pred-9_b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/uninit-pred-9_b.c b/gcc/testsuite/gcc.dg/uninit-pred-9_b.c
index 53c4a53..c8f427b 100644
--- a/gcc/testsuite/gcc.dg/uninit-pred-9_b.c
+++ b/gcc/testsuite/gcc.dg/uninit-pred-9_b.c
@@ -17,7 +17,7 @@ int foo (int n, int l, int m, int r)
if (l > 100)
if ( (n <= 9) && (m < 100) && (r < 19) )
- blah(v); /* { dg-bogus "uninitialized" "bogus warning" { xfail powerpc64*-*-* cris-*-* } } */
+ blah(v); /* { dg-bogus "uninitialized" "bogus warning" { xfail powerpc64*-*-* cris-*-* riscv*-*-* } } */
if ( (n <= 8) && (m < 99) && (r < 19) )
blah(v); /* { dg-bogus "uninitialized" "pr101674" { xfail mmix-*-* } } */