public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] [testsuite] [riscv] uninit-pred-9_b bogus warning
@ 2022-12-01  7:39 Alexandre Oliva
  0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2022-12-01  7:39 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:fdf23207fe3a69bc35ac13633b9b3a7ccf95eb73

commit fdf23207fe3a69bc35ac13633b9b3a7ccf95eb73
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Dec 1 04:38:45 2022 -0300

    [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.
    
    Change-Id: I51e3848d6ac561a53ea8ea27c352b0b7b98a0d18
    TN: VB12-008

Diff:
---
 gcc/testsuite/gcc.dg/uninit-pred-9_b.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/uninit-pred-9_b.c b/gcc/testsuite/gcc.dg/uninit-pred-9_b.c
index 53c4a5399ea..c8f427b12c0 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-*-* } } */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-01  7:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-01  7:39 [gcc(refs/users/aoliva/heads/testme)] [testsuite] [riscv] uninit-pred-9_b bogus warning Alexandre Oliva

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).