From patchwork Wed May 24 05:42:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Oliva X-Patchwork-Id: 1785528 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=Vi/bnO+e; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QR0Tp3wc6z20Q0 for ; Wed, 24 May 2023 15:43:26 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8865B3858414 for ; Wed, 24 May 2023 05:43:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8865B3858414 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684907004; bh=nkIY5B4taU7EZa1kXyqoXmU2qjSRankCnkuriT54nZM=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=Vi/bnO+enaDkNE+77ZKoTtwYlw1hGSnEbT4aTnFn3OLGuvqExwmtwzwK5UjRPxzH0 cr4yx1ow0k8C6LSl4H5lIoEnndfpvNUTIJtO0qYba70nzDsEnIbkRYkXbi/oxE9qqC Qh1cr6F6pkR5Btm94DZpCXEDhFPAyjP9Yl932UZA= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) by sourceware.org (Postfix) with ESMTPS id B4D683858C52 for ; Wed, 24 May 2023 05:43:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B4D683858C52 Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-19ad6baf96dso484529fac.0 for ; Tue, 23 May 2023 22:43:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684906983; x=1687498983; h=mime-version:user-agent:message-id:date:errors-to:organization :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nkIY5B4taU7EZa1kXyqoXmU2qjSRankCnkuriT54nZM=; b=c9IYxirXMcKI+/StWFJNYgjZkdq3Gih7lti7dlqUJSocLLUhiOWmMDFy/hnTMjWo4d BI8jf4lt1ijJ4q9VGGNcMjdYLplNPuOzrqBY0yjtp8gNhmReOG7GgjwlQReRcZW8Wd4i Y7X6CJNZ0ZCg02S7cQ2oZrzRNfadP4ICdObN48hKGxi5YKzxHHOuW7L+aWZ8QzMSo+AK wOIspBJpRzRrsf+h86uojptxHm+K11HMz7u/s1sGm6HH1UtbXgVp8pNrrTDj3qKvrxLu sl4IR6UYug1phxbMh8w99G3jyCqW3abvZFI3Px1UsUI+ugcfG6CrRxlDHeHEe435YC8/ UFwA== X-Gm-Message-State: AC+VfDwxTb6uT1dmwOQz/gC1F5lr7y64U2jlL6p3+LUSPPNe950fmXpC ZsFNa6kDF8mbqgMcsOz9ZsoNiPvmmY8iPXJLo1M= X-Google-Smtp-Source: ACHHUZ4NshaexBX6e0Ls2u10RpNXKlLuSPLTy2xUQ7DbpUfY4SueIOdVS33MS4iLntTeMlSoUH6ScQ== X-Received: by 2002:a05:6870:a245:b0:188:1096:246f with SMTP id g5-20020a056870a24500b001881096246fmr7070618oai.29.1684906983739; Tue, 23 May 2023 22:43:03 -0700 (PDT) Received: from free.home ([2804:7f1:2080:6383:46d9:ede8:ee97:8cc0]) by smtp.gmail.com with ESMTPSA id ed17-20020a056870b79100b00172428894e0sm4321359oab.28.2023.05.23.22.43.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 22:43:03 -0700 (PDT) Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id 34O5gtci3581787 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 24 May 2023 02:42:55 -0300 To: gcc-patches@gcc.gnu.org Cc: Rainer Orth , Mike Stump , David Edelsohn , Segher Boessenkool , Kewen Lin Subject: [PATCH] [testsuite] [ppc] xfail uninit-pred-9_b bogus warn on ppc32 too Organization: Free thinker, does not speak for AdaCore Date: Wed, 24 May 2023 02:42:55 -0300 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 X-Spam-Status: No, score=-13.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alexandre Oliva via Gcc-patches From: Alexandre Oliva Reply-To: Alexandre Oliva Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" The bogus warning is present on 32-bit ppc-vx7r2 too, so drop the 64 from the powerpc xfail triplet. Bootstrapped on x86_64-linux-gnu. Also tested on ppc- and x86-vx7r2 with gcc-12. for gcc/testsuite/ChangeLog * gcc.dg/uninit-pred-9_b.c: Xfail bogus warning on 32-bit ppc as well. --- 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 c8f427b12c0ab..0f508fa56e1c5 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-*-* riscv*-*-* } } */ + blah(v); /* { dg-bogus "uninitialized" "bogus warning" { xfail powerpc*-*-* cris-*-* riscv*-*-* } } */ if ( (n <= 8) && (m < 99) && (r < 19) ) blah(v); /* { dg-bogus "uninitialized" "pr101674" { xfail mmix-*-* } } */