Message ID | 20230828193053.3783698-1-apinski@marvell.com |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp3538892vqm; Mon, 28 Aug 2023 12:31:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFlsmsFwDCfh65Ua5RvhGo9sKsXgcMEwv7k5HCP3C1hQPdTh5xCKZtNdM99UJckZQO0uCJW X-Received: by 2002:a2e:8245:0:b0:2ba:18e5:1063 with SMTP id j5-20020a2e8245000000b002ba18e51063mr16407093ljh.50.1693251113643; Mon, 28 Aug 2023 12:31:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693251113; cv=none; d=google.com; s=arc-20160816; b=jYlQHyRCVSVgnk+HSXWB4I6uDhKVXAwrwppyW45u+htgFC47/CZccKZMaXzLUSSyP6 KPB/OaWEU/uMFPRJZRAEZck618DQ61kQUKTxGC5eOTC344MzVglqIl1pIelgr6K4djTk wzZIvczH0zTnkE9Rxsv8+G58QkPM8rJpHwtpXbc1NfS/yjzQM8BySnB/4ht1lTkQslur gyUy5EVsiZTmVWLnNTlTVMj7ewd9ePXJvQxfiUMfkDW48DfMUIGZZeuXyRG2daATrTut pHHnjB0TnH0hNGnu8Paf3HOvFi/lzkRA9tZVuURzlrLgc26mRYgkIppnE7t9qfw7PeBf rsaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=7vv1O6dGNl5owu5tlUVqY4/9DhiCbXxmTKK9eVgejho=; fh=XbcmRug6/SzczusyoNU1I7Lu5oY0AN2u0mWDzKoxdSs=; b=MXpaSm16O6T+f9rOHyjo3gmduGnfsc6CenXszoKGz4TUswSd5np+p9TuIMPukpwYnt lMPc+rg2TU+6W75d1BMdR/JvIw29az2GG9SD2kK8MKpvDVXQA+jIsEoqKk74Gu1IEizV WxppR9CXXjG2CXzUPmCMkwYJ9HLCq0nTBQbR5zNfgAR9wNLCgzgbRfNBV00zn+2YniJQ UdaF8IeAdwq2Y8qmIjJdHNhCtB/UxQWu44InBOImaILT1JMaIoZGUfkxIQ/xBVKTOYVX sii5+1QD8mAegu5cWHREVa3ehtcm5KYlDcXuYbBmnZYlcugmo1ZZ3AJhVX25/MtieGxe /6ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=PuceK5MI; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id jj22-20020a170907985600b0099cc01fb28csi4675363ejc.780.2023.08.28.12.31.53 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Aug 2023 12:31:53 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=PuceK5MI; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 934753858C30 for <ouuuleilei@gmail.com>; Mon, 28 Aug 2023 19:31:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 934753858C30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1693251112; bh=7vv1O6dGNl5owu5tlUVqY4/9DhiCbXxmTKK9eVgejho=; h=To:CC:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=PuceK5MIdAoUxFLFq3fcA3popLguqT0izal0Q319JiewYI+HOMAo94j+O2QAP0R2E 41OWq8FSIMF6UnNp3hMX2HS5dqum/ICCbAf5UYrGe2tL5b4kPNJBk6AB0Z279HJBQR z44OYMNeX8x6wU1lhXCPoHA6bywFHHEqpezQxos4= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by sourceware.org (Postfix) with ESMTPS id D05FF3858D28 for <gcc-patches@gcc.gnu.org>; Mon, 28 Aug 2023 19:31:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D05FF3858D28 Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37SGMUKS013856 for <gcc-patches@gcc.gnu.org>; Mon, 28 Aug 2023 12:31:08 -0700 Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3sry1wrn96-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for <gcc-patches@gcc.gnu.org>; Mon, 28 Aug 2023 12:31:08 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 28 Aug 2023 12:31:06 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Mon, 28 Aug 2023 12:31:06 -0700 Received: from vpnclient.wrightpinski.org.com (unknown [10.69.242.187]) by maili.marvell.com (Postfix) with ESMTP id 570B63F7097; Mon, 28 Aug 2023 12:31:06 -0700 (PDT) To: <gcc-patches@gcc.gnu.org> CC: Andrew Pinski <apinski@marvell.com> Subject: [PATCH] Fix cond-bool-2.c on powerpc and other targets Date: Mon, 28 Aug 2023 12:30:53 -0700 Message-ID: <20230828193053.3783698-1-apinski@marvell.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: BBYn0CAi4cQtqQTBbnprOfeBiQfTV8mT X-Proofpoint-GUID: BBYn0CAi4cQtqQTBbnprOfeBiQfTV8mT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-08-28_16,2023-08-28_04,2023-05-22_02 X-Spam-Status: No, score=-14.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, 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.30 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> From: Andrew Pinski via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Andrew Pinski <apinski@marvell.com> 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: INBOX X-GMAIL-THRID: 1775502479706251617 X-GMAIL-MSGID: 1775502479706251617 |
Series |
Fix cond-bool-2.c on powerpc and other targets
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Andrew Pinski
Aug. 28, 2023, 7:30 p.m. UTC
This adds `--param logical-op-non-short-circuit=1` to the tescase so it becomes a target indepdendent testcase now. I filed PR 111217 as the variant of the testcase which fails indepdendently of the param. Committed as obvious after testing to make sure it passes on powerpc now. gcc/testsuite/ChangeLog: PR testsuite/111215 * gcc.dg/tree-ssa/cond-bool-2.c: Add `--param logical-op-non-short-circuit=1` to the options. --- gcc/testsuite/gcc.dg/tree-ssa/cond-bool-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/cond-bool-2.c b/gcc/testsuite/gcc.dg/tree-ssa/cond-bool-2.c index b3e7e25dec6..7de89cc0de2 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/cond-bool-2.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/cond-bool-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-optimized-raw" } */ +/* { dg-options "-O2 --param logical-op-non-short-circuit=1 -fdump-tree-optimized-raw" } */ /* PR tree-optimization/95929 */