Message ID | 20221115190806.2756221-1-kevinl@rivosinc.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2897570wru; Tue, 15 Nov 2022 11:09:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf7RbmieRWN0tYd121d+lKNPxohzNTbiyM7zZllo/yYpnC3jatwYvFqMe/xDHccUrSqu7IBp X-Received: by 2002:aa7:cd15:0:b0:458:5987:7203 with SMTP id b21-20020aa7cd15000000b0045859877203mr15682064edw.161.1668539366845; Tue, 15 Nov 2022 11:09:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668539366; cv=none; d=google.com; s=arc-20160816; b=0IuX+Q0f1PqNHtZ3JOfcKsjwj+B7PM7n6w+m9+fIeUmTlW6emctZDLjMHiJImou0Zv Q7dDUd/wvvyIQraPaqIYsb2QIwCYjdpXfhtzoT10IIeBrEUYghnL/F043IZ3Z0xtyDbH yj6EgHM7a6kdTgH5sEJ95JiszmeJjBzz4DllnbhR8fGFIgfv+I7lvYOtsCeiR4B7WVJy FEd846DEYE6BbJGy2Z6QiPCY9mCa+DtyuYHzTYutsc451IB823Rzo6YEc/nc4SZRG9sH RsO5K740GVlv8ErdH9ZPC97mOve2uTXT3nBEu0IfALqdjHi6VMaE6YrtmKrcYaDPh/a2 YKTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :dmarc-filter:delivered-to; bh=esfFzu1L0ng9Vy3bRBVe73uqmgr2vgxmLnEg3Vgg3wE=; b=ZwPCq9/eBp+G56aQZo50pc0S5JunwQbkEPFOEYuV3TxoEd6uM3CSlEPjmdvrHSt5Sw CkmG/Ph6hs56MFkvRYVkz5Ib+rQhM1C38cB2YrCVQGlCxfMEmkfm+KbD/Na3eHPLbN0k M2DKaNVaX64B5/ss+jEt3I13x0271jUnXLBKVQosthhYrjuDZhQ83aUOGZgyEBZtcQaW jRyneR1RNGwBIhDG3OWR/ULqSkiJHimt6lBQN/LngrLlAtLgf1qpn86JaBnGVN5P0spV H+gjdx1+wT5On2IPZl8SSioBTyogjYQr3RYf+s51KxoNoHD9oKInqEEM1+T7wx3pWll8 c1vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b="gZb4H/pU"; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id i10-20020a1709064fca00b007707c67f523si12688747ejw.335.2022.11.15.11.09.26 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 11:09:26 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b="gZb4H/pU"; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6D4D4394880F for <ouuuleilei@gmail.com>; Tue, 15 Nov 2022 19:08:53 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by sourceware.org (Postfix) with ESMTPS id D046038AA275 for <gcc-patches@gcc.gnu.org>; Tue, 15 Nov 2022 19:08:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D046038AA275 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pf1-x430.google.com with SMTP id z26so14976948pff.1 for <gcc-patches@gcc.gnu.org>; Tue, 15 Nov 2022 11:08:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=esfFzu1L0ng9Vy3bRBVe73uqmgr2vgxmLnEg3Vgg3wE=; b=gZb4H/pUMl2w+WlxO1Zav5gT33ADR9LZxmIDFQUGVTv9xCJhyMdBS5w9HD7DazLl7q qR1/VUaLT+eTBm/yPQl+mIbPTH7O3gOOc+YtbAoXv+bqkDVVmAh0zDP3EzLV3GPVaZqj 1xuMnWNRp70mtbHeNv3ZEnlTCnyoP1LI7gc/6BjgFKMQsKroNI7lYVsaepwmqpui0ve7 Zvr4XZrDcvmXrpdPfHtS4LgsnRfcFiZ2BSMIPYHR1u6vQkvebffTNM841zaEF0JwVCBP wksjpsIHtUuV//x4pAGvMg4Txx/517oEAu32J0YRD8rrkLseJ8lAXtWvdluQiBLaEMZe levg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=esfFzu1L0ng9Vy3bRBVe73uqmgr2vgxmLnEg3Vgg3wE=; b=0l4YpHDa2YGitoK3pBAQ8lYoRVrxWNjmBkuzr4GTCN/TbszDGj3UnJOZennqCU3ZVJ 9cMwcKnrPNalRYZOi/FMlKu15kWZ+LdKbOn/r9g0mS/66nQXx1WMHa1455DEdfGP8Qwl TvdohZ4zMQDnUDbkGJ4PrnNHtkZ7qzgRlTpq0KFDeY4/D1BtgY+MLv0XdYnApd4JfTsg 99F5IE008/1VkhFxChVQ6M40CAzNbZPnNclt6Sg8UQX/rBPCVNkx/Kt9ms0ReJeDBS6f a50NhuNng9NNRMQVeRKJdQkd4v/mkqw2xN4J4ZW0EGXVazaAQtGC0zedUX5wc1v6skWQ G4IA== X-Gm-Message-State: ANoB5pnH8UXXX3ZxKqmMBkbwIFvI5xWkFbJZPC5SS79ylIS4kuSY9bxN FMf40Zysw+AxnoWW4s2lnYIFAirZN6csqw== X-Received: by 2002:a63:f908:0:b0:475:2f42:7638 with SMTP id h8-20020a63f908000000b004752f427638mr16029391pgi.439.1668539307497; Tue, 15 Nov 2022 11:08:27 -0800 (PST) Received: from kevinl.ba.rivosinc.com ([66.220.2.162]) by smtp.gmail.com with ESMTPSA id nn14-20020a17090b38ce00b00213d28a6dedsm12073388pjb.13.2022.11.15.11.08.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 11:08:26 -0800 (PST) From: Kevin Lee <kevinl@rivosinc.com> To: gcc-patches@gcc.gnu.org Cc: gnu-toolchain@rivosinc.com, Kevin Lee <kevinl@rivosinc.com> Subject: [PATCH] RISC-V uninit-pred-9_b.c failure Date: Tue, 15 Nov 2022 11:08:06 -0800 Message-Id: <20221115190806.2756221-1-kevinl@rivosinc.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749590334867297750?= X-GMAIL-MSGID: =?utf-8?q?1749590334867297750?= |
Series |
RISC-V uninit-pred-9_b.c failure
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Kevin Lee
Nov. 15, 2022, 7:08 p.m. UTC
The gimple generated by riscv is identical to that of powerpc64 currently. It seems like the change at r12-4790-4b3a325f07acebf47e82de227ce1d5ba62f5bcae also affected riscv64 like powerpc64 and cris. gcc/testsuite/ChangeLog: * gcc.dg/uninit-pred-9_b.c: Xfail for riscv64 --- gcc/testsuite/gcc.dg/uninit-pred-9_b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 11/15/22 12:08, Kevin Lee wrote: > The gimple generated by riscv is identical to that of powerpc64 > currently. It seems like the change at r12-4790-4b3a325f07acebf47e82de227ce1d5ba62f5bcae also affected riscv64 like powerpc64 and cris. > > gcc/testsuite/ChangeLog: > > * gcc.dg/uninit-pred-9_b.c: Xfail for riscv64 Note that if we start adjusting BRANCH_COST then this may need further refinement, but I think it's fine for now. OK jeff
diff --git a/gcc/testsuite/gcc.dg/uninit-pred-9_b.c b/gcc/testsuite/gcc.dg/uninit-pred-9_b.c index 53c4a5399ea..843f5323713 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-*-* riscv64*-*-* } */ if ( (n <= 8) && (m < 99) && (r < 19) ) blah(v); /* { dg-bogus "uninitialized" "pr101674" { xfail mmix-*-* } } */