From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 194B5385B185; Thu, 1 Dec 2022 07:39:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 194B5385B185 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669880388; bh=5axv+hIkvHWAKgSI1q8qzGrdTw+jU7b6E2UC7FmavT0=; h=From:To:Subject:Date:From; b=U0+h/uttS60ycih/2LHVB8SfkXSknBdwJzvZXg0zQt6jalgn7FiSLUtg/daM3jvOX 2WEuIRPUuKP95vJqIcwNrgF8+Pl9OW8hY8RGza7spn7egLlQxSc+pMvpIxC4TbDBWy rwkBmu74YeECKhO/awx4L2hh4ddZRS1CR9ZiFm/4= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testme)] [testsuite] [riscv] uninit-pred-9_b bogus warning X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/users/aoliva/heads/testme X-Git-Oldrev: c31cfa77152bd66249ee582fad75e9739284bbf4 X-Git-Newrev: fdf23207fe3a69bc35ac13633b9b3a7ccf95eb73 Message-Id: <20221201073948.194B5385B185@sourceware.org> Date: Thu, 1 Dec 2022 07:39:48 +0000 (GMT) List-Id: https://gcc.gnu.org/g:fdf23207fe3a69bc35ac13633b9b3a7ccf95eb73 commit fdf23207fe3a69bc35ac13633b9b3a7ccf95eb73 Author: Alexandre Oliva 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-*-* } } */