From patchwork Thu Dec 2 12:56:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 1562682 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.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=EoqjKV55; dkim-atps=neutral Authentication-Results: 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=) 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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J4bbw2Lvlz9s1l for ; Thu, 2 Dec 2021 23:58:18 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 44D323857C4E for ; Thu, 2 Dec 2021 12:58:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 44D323857C4E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1638449896; bh=f/Zy6yXt6Ej6CqqIjj3qZqwVXbqmU9bVjvzB2RYownc=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=EoqjKV55FXGTLbkdIXDKe4cW3mXvwGGebcSH/hTAYVX4Ja+4MNHApkeYjfL1Y2kym uqPv6AgzYa6R8sh4MGCVDn48B1la++OSVMYLCS9NJqLI1FQejzLKFq9bSZPE+uGM9S zQMkkQczONzeZvFYe9kYDP2PRspSImkSPfPCO7+E= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50078.outbound.protection.outlook.com [40.107.5.78]) by sourceware.org (Postfix) with ESMTPS id 455133858D39 for ; Thu, 2 Dec 2021 12:56:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 455133858D39 Received: from AS8PR04CA0188.eurprd04.prod.outlook.com (2603:10a6:20b:2f3::13) by AM8PR08MB5810.eurprd08.prod.outlook.com (2603:10a6:20b:1d2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.11; Thu, 2 Dec 2021 12:56:35 +0000 Received: from AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:2f3:cafe::f1) by AS8PR04CA0188.outlook.office365.com (2603:10a6:20b:2f3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.16 via Frontend Transport; Thu, 2 Dec 2021 12:56:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT049.mail.protection.outlook.com (10.152.17.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.13 via Frontend Transport; Thu, 2 Dec 2021 12:56:34 +0000 Received: ("Tessian outbound de6049708a0a:v110"); Thu, 02 Dec 2021 12:56:34 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 611b9ac857862289 X-CR-MTA-TID: 64aa7808 Received: from 7639450e38ad.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D82488E5-1BDA-4E4F-A906-1526EEC14CB6.1; Thu, 02 Dec 2021 12:56:28 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 7639450e38ad.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 02 Dec 2021 12:56:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DxIuJnsjLeARqRp9SGfQ+TvI+49WV47nwH5FueHH6zf10/E5e8fbZYt35qXbZv/s8RcA4NFva/a56K4KBRBheqJuqRAok6yB+gm9fdLNoITW9PnHSBzDfGZTMsQG8gEC5I9JU6vvRpb3dR0eW0QMATbpUStdbCpfdxkJWgTPWAkwvKkyUQhtMDAvV4xSWssP5QCtfGxWXmfXIU80/nlNHOrFm9pdwqGMPnc/2fQRLrL2aGDdDGSd0etwNtFGJX8+lYs42/8AP73wb8XRHpwn0LMi/Sh6LgvKtra27TKGqVCEvk++7Pj3WC+IdG0z5tZAM4BiVwDNQOcr82duwL9mVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=f/Zy6yXt6Ej6CqqIjj3qZqwVXbqmU9bVjvzB2RYownc=; b=oZ3YkrRg8H/syVqn8yDrP/et1Yx0W6oBMLZ4CEPeELm2g3JnKsDDPdU3DDNcMwVdvRidMkgjMQvKBFu6paiYAJDL1If2HAV7yEzO1vBx4dvuoAaMDQk0lC02kZcLXflpgnX3gfTcALxM6mcffJktVOD7O4JtDbeysGRc6mypet6o/r1U92gHWcyYWPcVNCT12OIUHyWEGoqC95T32Jq4FRLAp7HyGXX+ypp809m6ZN9ZCdr4FMLMVp/NwGZuCgok65/4NzO4TaJ1HhfdcsZAq3w97gh2oQPI0nQyOnpobpb8MENg7vuLQn2LIDd28bwfGpw8IEk8IDqT+HUO/Cvrhg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) by VI1PR08MB4255.eurprd08.prod.outlook.com (2603:10a6:803:100::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.21; Thu, 2 Dec 2021 12:56:25 +0000 Received: from VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::12a:3d2c:81ff:8fcc]) by VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::12a:3d2c:81ff:8fcc%8]) with mapi id 15.20.4734.024; Thu, 2 Dec 2021 12:56:25 +0000 Date: Thu, 2 Dec 2021 12:56:23 +0000 To: gcc-patches@gcc.gnu.org Subject: [PATCH][committed]middle-end: make bic-bitmask-18.c test more precise [PR103479] Message-ID: Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-ClientProxiedBy: LO2P265CA0074.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::14) To VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) MIME-Version: 1.0 Received: from arm.com (217.140.106.55) by LO2P265CA0074.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23 via Frontend Transport; Thu, 2 Dec 2021 12:56:25 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d2263274-f39f-4c28-339a-08d9b5932bd9 X-MS-TrafficTypeDiagnostic: VI1PR08MB4255:|AM8PR08MB5810: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:2582;OLM:2582; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: CwfC1aXOBBOvQ5xgWZuhAH7bHnPXDSOSIAY0bV24zoP+LhYR3O7Z+Vrbp8+EVKxCsk7ioeIlVRUPcS6/LFCNVd7ZIXU/wBhnVpLyn0u9UDSAFd+sNJRXVz32W9GrPmxXOXZuKVj6Sju+ow5lmD6beY3iZoUU/OtN9E5eI9CD3nD8evt4AA0vTD9RmOZq2yW2s4750PvsCrGzKpmWnVt/WrzFOvYBS/7tzahrSOOfdvHrhWhOW1S0B1Bderr69+xKq4VQkdsmH43PO448mmpUKqHr6iNvSsYtUjd2P3WpDG0iaTzKOLdy0RL2BP+Tld1/sNt8uq7wYi5T+yam+Ab0Achq9Zv3STaxaSuXioUzajPXPpFde9GreSnyWcPxcuVJAAfQXiL5TIFXWrfx7oHT2DaLUycCZ3HNtnJxsPOF+VJoi6lty9TEEsCI+w9F+xugmf1vRI/coBr8+6aEU1rqY+V6WaHX8Y3rKFe3NsPo091r9gIzPRoTzPAeZa2/yZciZN2uPwwLH2M/K/UTIIOqkYB0orMd1xut9EtFqsJ3in2n/i4Wa6Kqn7Yz31CRlwb85+wFjvrXYv37oiTVEISsFmFdJ1/wqYVXkD/Ai5JAVcNLfiDFXbWc1o/f0qwD7guc6725E+HlfmrkyZXNXl/6SP4rkcUdNYoJy1e/g99thmXDK6af8kr99jJtbm0cpFsoM+Asz97nOiOXKLtTbs/Nbm5g0+wU3TdQ8YN43+Q37BsC6cTKKIH3xQMDuH0pyO5bMM+4TnO3mWRu5ew53yQ7464Q5EX9Riqo7ga4/ex3bZQvfFJY3iwlRcGeHAX5adNvW5SSgAPBB/jouqdoRyC5RQiZ4PvDyBtsZdv58xNPdwc= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB5325.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(86362001)(26005)(5660300002)(186003)(235185007)(8886007)(55016003)(508600001)(38100700002)(8936002)(316002)(2906002)(66946007)(66556008)(66476007)(4743002)(6916009)(956004)(2616005)(33964004)(44144004)(38350700002)(8676002)(7696005)(52116002)(83380400001)(44832011)(84970400001)(4326008)(36756003)(4216001)(2700100001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4255 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: bf7b0603-1a89-4097-d912-08d9b593262e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pLYkP/pdkzBe/sYMpzfRyWBZ3KNH1FnI9hAM3qLsaFjm2EfJSycaXmayOauR0+NfdksJxNdGSDyBpbvu1G+eCDQ0muQPw8h6d8TiCHI6NS7yxJkf5KYYVK/YG6sg2RsFYKulAv51mIC+XGw3U02r71ZlmOm+PKmQqUZX0g1Oj3dY+7yaZlgirjA6Hqok4j88l92hrhilwTU+9X6dcxBr1/o9eYTTPX1nDdVD6g3/W+vuYkyBNbAMsZzUPi/9wFHNBw1iOE5wm32Z+Erp/i6D+EF8t4quRgMsuyt0O6FpSeJo0aMEiE8bqDfn6LMidrKiA0OjTMUua6PHVon0wZTm/iXwMwOeZ50tif/iTVuqIio73pU5jPDIhUxynGXEvFRrlMSDpi1tEhbotwcQdz0148bWklfDFnviaKEDixZwI2UEyKluOOZzcnvNw8w6oCcLKH6ChCGtVJH646wixWQVIre+VBW6HBsndmp0s1n/ca7mdgdCNDBEVf2zXg4VUdm4VR11PYEjQUiA8NK94mW+PIY+xy5YrO3xrg2quemFd+YsQN79QJYpOyHgRZ7+QwVWDZ1bw7bGrhA1bsN7/XsdGPV5TT5jV7HJSxEyXiuV79sZ3Se81WFjm7w9spHruk8V4UYQPHSkX9Ipy6NVwQbOZW6HskbWqBx4X3eg7QXFwFXkuDgBWn1NSXmcmi+dcPr8myBJgwpF1aoVpnqijZP1DTyrtgP0aQd/0MKzecJnpFr5W6kruILDyaO90zt6M5euddyCVIDQ90MfFiNpiMRGYhO0oc9b6s+8OnI27yeuHewouljPWKbQtcuW72AfZzRDhrTGoEm3NtXSjQaxv6C63Q== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(508600001)(82310400004)(47076005)(86362001)(84970400001)(55016003)(70206006)(4326008)(70586007)(356005)(33964004)(36756003)(44144004)(4743002)(7696005)(83380400001)(81166007)(8936002)(5660300002)(316002)(26005)(6916009)(186003)(36860700001)(107886003)(8886007)(2906002)(2616005)(44832011)(956004)(8676002)(336012)(235185007)(4216001)(2700100001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2021 12:56:34.9641 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d2263274-f39f-4c28-339a-08d9b5932bd9 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB5810 X-Spam-Status: No, score=-13.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Tamar Christina via Gcc-patches From: Tamar Christina Reply-To: Tamar Christina Cc: nd@arm.com, rguenther@suse.de Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Hi All, This updates the testcase bic-bitmask-18.c to seach for " = 0;" as an expression so it doesn't match any other partial expressions. Regtested on aarch64-none-linux-gnu, x86_64-pc-linux-gnu (with and without -m32) and no regressions. Committed under the obvious rule. Thanks, Tamar gcc/testsuite/ChangeLog: * gcc.dg/bic-bitmask-18.c: Update regexpr to expect = 0;. --- inline copy of patch -- diff --git a/gcc/testsuite/gcc.dg/bic-bitmask-18.c b/gcc/testsuite/gcc.dg/bic-bitmask-18.c index 9d11b3bf4a4f04f572d47d710499d97ea0b11936..70bab0c520321ba13c6dd7969d1b51708dc3c71f 100644 diff --git a/gcc/testsuite/gcc.dg/bic-bitmask-18.c b/gcc/testsuite/gcc.dg/bic-bitmask-18.c index 9d11b3bf4a4f04f572d47d710499d97ea0b11936..70bab0c520321ba13c6dd7969d1b51708dc3c71f 100644 --- a/gcc/testsuite/gcc.dg/bic-bitmask-18.c +++ b/gcc/testsuite/gcc.dg/bic-bitmask-18.c @@ -19,6 +19,6 @@ void fun2(uint32_t *x, int n) #include "bic-bitmask.h" -/* { dg-final { scan-tree-dump-times {= 0} 1 dce7 { target vect_int } } } */ +/* { dg-final { scan-tree-dump-times { = 0;} 1 dce7 { target vect_int } } } */ /* { dg-final { scan-tree-dump-not {\s+bic\s+} dce7 { target { aarch64*-*-* } } } } */