From patchwork Mon May 15 05:06:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Pan2 via Gcc-patches" X-Patchwork-Id: 93852 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6670603vqo; Sun, 14 May 2023 22:07:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4kiD6RlARSO4SEmMDrABuluo49YjF1rMufjJ0GX2hHCKzAsLcZeBEKQ5n2sm3MOkmisROm X-Received: by 2002:aa7:cd84:0:b0:50c:2215:317e with SMTP id x4-20020aa7cd84000000b0050c2215317emr25674761edv.15.1684127228305; Sun, 14 May 2023 22:07:08 -0700 (PDT) Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id f17-20020a05640214d100b0050488fc9d44si8048818edx.93.2023.05.14.22.07.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 May 2023 22:07:08 -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=gO171zfk; arc=fail (signature failed); 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 1EEDE385840C for ; Mon, 15 May 2023 05:07:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1EEDE385840C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684127227; bh=IC0XMCqyXpshdIk29WSJiRPTBLApHw1ei1jkMs0svT4=; h=To:CC:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=gO171zfkwyOMk/zkiq/nZZiM1Y9BSdiIg5Z5dbMtYM8iiV8TPOGa4bAR+ZO6SVbwt I/QIQrSr07lOAtQNEkWtY/0v9vItkI/bxOQ13y5zOp4ArhPazd9ChFKRxAw+rdZpFQ ixwYoRjT2ygTjhiEx6jRb/6OcZeI8aPZdiEPbo3E= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by sourceware.org (Postfix) with ESMTPS id 4599F3858D37 for ; Mon, 15 May 2023 05:06:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4599F3858D37 X-IronPort-AV: E=Sophos;i="5.99,275,1677567600"; d="scan'208";a="225293102" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 14 May 2023 22:06:18 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Sun, 14 May 2023 22:06:08 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Sun, 14 May 2023 22:06:07 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F9cv3MJwasfHvfWZTBxGzLtYG+u1B1azZVTu/wLd4Sf33FV5/qJzkcCxGZpH1Uo3HOGBt4Cu13ToTyATkUeyZkB1A3JLQHI4UtmVpCFIn4cL23b2vKfUYE8GHDth4RkCxiJBagFW56v+OMUwoZF/PN6aXNowzhnWe2bHqYcoPE6WqflEFiorygMd1kaF1U9kQZAjNwgMrhQhDHE9/1XB7wBsLILJ33evuzRrI6zlgeZgR3T0hggebtmhYxeSPS+OpTlcAgENpyZKYbNEoIB+T9ohVWIqHQaVrbgidSEqf9ubCPO/LmWIxlMZT/Li9Y9PjF/bmCBtJUUJeTdsU262QQ== 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=IC0XMCqyXpshdIk29WSJiRPTBLApHw1ei1jkMs0svT4=; b=UB9iTTHURS5E21Fwu73a3kuAHid2QW7qu2KL03CXMDAQyak8YTdU6kUFXvVMXXFzfRObY6urnHRu3mjIGua1UvCzAEf+JjvTYurBigRFQIdSQT+0c7xqXsbcwEHMYiSRUhHTfrX/BpFI4BzF0jPAnW8TyLdDa9nOYUbSXKgBq+0qiSs3QvcrSwi1ZzzV5DGKY0u7LE+fNqdHhl3/O5Ikyzudu8xjplZfJZyieitnktIiid526+Z8LWnaK6yx3BY1DEsCe7AxdDdpDlzz7cCqedRzLAp51WE2auP7P8+uHARf4DQxaIpvuVdTXS/MV2+zaF6lWPusPo0uiqUS+dP7yQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none Received: from CY4PR11MB1896.namprd11.prod.outlook.com (2603:10b6:903:11a::7) by BN9PR11MB5557.namprd11.prod.outlook.com (2603:10b6:408:102::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Mon, 15 May 2023 05:06:04 +0000 Received: from CY4PR11MB1896.namprd11.prod.outlook.com ([fe80::9d0d:b920:314d:7775]) by CY4PR11MB1896.namprd11.prod.outlook.com ([fe80::9d0d:b920:314d:7775%11]) with mapi id 15.20.6387.030; Mon, 15 May 2023 05:06:04 +0000 To: CC: , Subject: [Testsuite] Skip -fdelete-null-pointer-check tests if target keeps_null_pointer_checks Thread-Topic: [Testsuite] Skip -fdelete-null-pointer-check tests if target keeps_null_pointer_checks Thread-Index: AQHZhurylZ+Oypsg80mRhgeaQmLFrA== Date: Mon, 15 May 2023 05:06:03 +0000 Message-ID: <595B4378-CEDC-4D6D-A6B1-7FF80AFEF7B0@microchip.com> Accept-Language: en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/16.72.23043001 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CY4PR11MB1896:EE_|BN9PR11MB5557:EE_ x-ms-office365-filtering-correlation-id: 04a8c259-9b0d-4271-f9f3-08db5502155c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QVpkhNLa58OExNGNVgW4wEDTz0Y5jtYx+M6GyVM0kqRNFLkq67xmkYf2B2UWG8dM9HRqXP0pZbeUN0EL4ew96ROhFEhjc8RLlStkfMmorQcDFOJifWJZt1Q3ejHKf1pfyC3l8iUHxdyjAbnWkfaPEeYqThB5XAsX99Sn59TRLV1GDBKJmn4WZhdGJTgLuGMxc1cdkBjETrAODzLosfzEy6l2WlI2wuPdjN3veLd0oTgViIFDjAGr7NVpKOaSkxJkXkwfcVtxbgVUr5g3W68aZL+w/xg+htar8NPh6xsY1JpoLeaycSMaVWljaQ2cPzp9Nx5NDyaRLCkAoHEKwZPP6q7NM1oDr2BC9mEIsz9UI7OTVbEyS+liJfsG10UMKDisBuS2dBlnTUV5koG3MLoXCqbRRlT+9w8OGULYq+K6158mgfXAst7/FIB8+wDGngkAYvvmVMGJJ7wDurZjlU9YrxRKXTFuamOVeS+2TNsktQ/a6zQKQ5Gm1mZxf8K83YgJbKSlfBHlHqF0xJdLA1j/Eqzx4uiBshuzASjRWpkOy4x8/CHCrxiYTzZhDgypvgqNg/Zz0lfLhFjSb4Qqv9rH9En7M5VzK5UIqOF1FAokfSyAiMr1ccCdqlYsccjDBQKBke4osEMDiSvOIXfnLeBh3w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR11MB1896.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(376002)(396003)(366004)(346002)(136003)(39860400002)(451199021)(84970400001)(83380400001)(4326008)(6916009)(36756003)(38100700002)(122000001)(41300700001)(38070700005)(316002)(6512007)(6506007)(6486002)(26005)(966005)(478600001)(66946007)(33656002)(66446008)(66556008)(64756008)(66476007)(2616005)(91956017)(76116006)(8676002)(8936002)(5660300002)(2906002)(54906003)(86362001)(186003)(71200400001)(45980500001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?X9yOZt78jlyikmwXk2Hj9nJ8aGKZ?= =?utf-8?q?rzAANhV2xpJCn/YFWWbeoAzUYQyI5lE6o/CQt+NWZ1H8BkujxH5JNiWNi16Bt7EZx?= =?utf-8?q?67cke4w3gEskEoH+38w6S8ZtDt0gPfSbgreRM1jjNMYfLgsqy3vJtyp5/XCfUpwqu?= =?utf-8?q?E3vyDeZIF1D4gN1yX+49G+BKFWdX+SFFf20SnR8qWdCxWNgbmYI0JyUiN8ChTlynD?= =?utf-8?q?VlGlg5PVeCGmWe5DsKM+BjATDPdOcs1Cy9BeBZ4/xRGn6cjBhbtHkkDLll8xKNbV7?= =?utf-8?q?qZe3pAqPDVut1VuAGJpu+GQ+3rDiQtPCzOEUzllsbWVugUNTicAwUQLo1MoZghwFw?= =?utf-8?q?NwoAHvZfwy36r/S6D3ClXPPw5KP+HsVC0FkxkZNLEHHGR4ll+hSQZLc2ZOwCZRDw9?= =?utf-8?q?8Sxp8c1XMXMyj3B81D0eeJCRGWky13CFwt6byfC53obYSNOvS7B6rkTJxuXWR7JIa?= =?utf-8?q?f6Hvzbxf2aZ3g7iZvrbc4qOAytpA1MgfDWgbLdV4u/gn7RnQKMtsaGXEB1PFB/UNq?= =?utf-8?q?VBPXJlV81RcuM2SV9wOv0xiwEcOT5bnXO69UiGHP3XBedRPkeZ/kik9a0zBlm9CoW?= =?utf-8?q?R/EgxEwVMeM05wGTHBVWXI0uQwHHWbhpt2ELgSpMNDj+8F4MuX5FXFk6MC/CJWPwH?= =?utf-8?q?OMe1cmXkfP9QAYUpUxVZQO4vzcAiTOAs34Eo7fDpBvinSQTRH09nYxTrrWQaLkuXt?= =?utf-8?q?U4pflb3p58SUvE9na3a9PKIPTbVRSHy0RAV/u7212QNPfqWaO++XSIp4pOKOMkp4r?= =?utf-8?q?5ac3p/gY4ug4zDvU9gxSo1vbBgcEc9cRXzwn9FUwN9Wie8qa9216dzb6nAxNvWzov?= =?utf-8?q?Fi8Oc9YTZXBLay0cPN0ek4KkzDCw38nLXsi6+chRFJw3urQxfQMLu3uP/Xj7tGI7v?= =?utf-8?q?jFuUzneKucpQjDa3VTmMKXjJpC/8t9j2QPMWgMszeCuWShUdUdnMW+eEdqGuMDxdR?= =?utf-8?q?OiafO1zIBQc2zCgkMDSa6KYa8DTHINGB5PjtFAYKcP1iUTnYH6ihvp39KaEU5ZDHG?= =?utf-8?q?3rKJsCwUpNe9oPMRkPnrUnFCEgOswvWsNsOS7M5iTnmW7gT3+ea4DTxzl5ZGexWgv?= =?utf-8?q?yjcXGd+pnAy2OMZg/6j9/V7DC0qsfYvF8klh187+pPB3lK2AqS/uMgu1ZzIde+qSv?= =?utf-8?q?ib1wCFv0val0ee+N+BSjurzXYXFj1fD7Z8WWQb/EaUipcQFxbxOlsNU6PMmOkFpps?= =?utf-8?q?kg0mkmi5TwfmKKFkyIUHmvj1nwYTV/rG12smSjOlm0atocggnurXMRl5mfxfqQXmG?= =?utf-8?q?1tI5GBnWvtvTP5/ZmYmhGzeLpK2ArASlwzhtoAMM6qmz1WSduDCIrsT7HmeLBw8ai?= =?utf-8?q?PCVOYz7sPx7rk9nrkhzr9YjiafmN72BxwJNx5xdpzMvCqLy5MKAm/dLmkb6hRE9PJ?= =?utf-8?q?bbnkSKfJb8tSK/PTPMd+pPBZV369cp2H+kDWUDnORg9aJqEU1M46ly3er9c68Fig0?= =?utf-8?q?EbRI8MYI+D9gcfSwYg6EvbCr7DsCqhMIw2BHx5jmi/jEiYV8P6cD3jvTmV+kN1+NY?= =?utf-8?q?gzn30SVZEqm/9rQuSYmEPPYBc8fZtnimQ6TEBGnnRxRfqDEvZRdBpW0=3D?= Content-ID: <983F7543409DFC45BF7DF0C86BEFAFBC@namprd11.prod.outlook.com> MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB1896.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 04a8c259-9b0d-4271-f9f3-08db5502155c X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2023 05:06:03.9596 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rGFR18ba+tR3j1b10DgeYNPdz4QxxI28i0sbVJuVe98kr847oH/6NEQUsMDo8VlfGmGX0H93Y2mqxF+dYC/fv/pOemb0/jYOdbi1SOi4SN7+o7xWxNqCvsUJ3mQQPuKN X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5557 X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "SenthilKumar.Selvaraj--- via Gcc-patches" From: "Li, Pan2 via Gcc-patches" Reply-To: SenthilKumar.Selvaraj@microchip.com Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765935392126765512?= X-GMAIL-MSGID: =?utf-8?q?1765935392126765512?= Hi, When running regression tests related to https://gcc.gnu.org/pipermail/gcc-patches/2023-April/616772.html, I noticed a bunch of failures because some tests explicitly pass in -fdelete-null-pointer-checks, even if the target is configured to keep them. This patch skips such failing tests by adding a dg-skip-if for keeps_null_pointer_checks. Ok to commit? Regards Senthil gcc/testsuite/ChangeLog: * gcc.dg/attr-returns-nonnull.c: Skip if keeps_null_pointer_checks. * gcc.dg/init-compare-1.c: Likewise. * gcc.dg/ipa/pr85734.c: Likewise. * gcc.dg/ipa/propmalloc-1.c: Likewise. * gcc.dg/ipa/propmalloc-2.c: Likewise. * gcc.dg/ipa/propmalloc-3.c: Likewise. * gcc.dg/ipa/propmalloc-4.c: Likewise. * gcc.dg/tree-ssa/evrp11.c: Likewise. * gcc.dg/tree-ssa/pr83648.c: Likewise. diff --git gcc/testsuite/gcc.dg/attr-returns-nonnull.c gcc/testsuite/gcc.dg/attr-returns-nonnull.c index e4e20b8..d7f39be 100644 --- gcc/testsuite/gcc.dg/attr-returns-nonnull.c +++ gcc/testsuite/gcc.dg/attr-returns-nonnull.c @@ -1,7 +1,8 @@ /* Verify that attribute returns_nonnull on global and local function declarations is merged. { dg-do compile } - { dg-options "-Wall -fdump-tree-optimized -fdelete-null-pointer-checks" } */ + { dg-options "-Wall -fdump-tree-optimized -fdelete-null-pointer-checks" } + { dg-skip-if "" keeps_null_pointer_checks } */ void foo (void); diff --git gcc/testsuite/gcc.dg/init-compare-1.c gcc/testsuite/gcc.dg/init-compare-1.c index 6737c85..a473f59 100644 --- gcc/testsuite/gcc.dg/init-compare-1.c +++ gcc/testsuite/gcc.dg/init-compare-1.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-additional-options "-fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ extern int a, b; int c = &a == &a; diff --git gcc/testsuite/gcc.dg/ipa/pr85734.c gcc/testsuite/gcc.dg/ipa/pr85734.c index cbd524b..b3f5c81 100644 --- gcc/testsuite/gcc.dg/ipa/pr85734.c +++ gcc/testsuite/gcc.dg/ipa/pr85734.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -Wsuggest-attribute=malloc -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ __attribute__((noinline)) static void *f1(__SIZE_TYPE__ sz) /* { dg-bogus "function might be candidate for attribute 'malloc'" } */ diff --git gcc/testsuite/gcc.dg/ipa/propmalloc-1.c gcc/testsuite/gcc.dg/ipa/propmalloc-1.c index d7c13af..f5e8676 100644 --- gcc/testsuite/gcc.dg/ipa/propmalloc-1.c +++ gcc/testsuite/gcc.dg/ipa/propmalloc-1.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-ipa-pure-const-details -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ __attribute__((noinline, no_icf, used)) static void *f(__SIZE_TYPE__ n) diff --git gcc/testsuite/gcc.dg/ipa/propmalloc-2.c gcc/testsuite/gcc.dg/ipa/propmalloc-2.c index 2332d9a..e26af41 100644 --- gcc/testsuite/gcc.dg/ipa/propmalloc-2.c +++ gcc/testsuite/gcc.dg/ipa/propmalloc-2.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-ipa-pure-const-details -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ __attribute__((noinline, used, no_icf)) static void *foo (__SIZE_TYPE__ n) diff --git gcc/testsuite/gcc.dg/ipa/propmalloc-3.c gcc/testsuite/gcc.dg/ipa/propmalloc-3.c index 5386695..3329a99 100644 --- gcc/testsuite/gcc.dg/ipa/propmalloc-3.c +++ gcc/testsuite/gcc.dg/ipa/propmalloc-3.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-ipa-pure-const-details -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ static void *foo(__SIZE_TYPE__, int) __attribute__((noinline, no_icf, used)); diff --git gcc/testsuite/gcc.dg/ipa/propmalloc-4.c gcc/testsuite/gcc.dg/ipa/propmalloc-4.c index 9552b73..23566e6 100644 --- gcc/testsuite/gcc.dg/ipa/propmalloc-4.c +++ gcc/testsuite/gcc.dg/ipa/propmalloc-4.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-local-pure-const-details -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ void *foo(int cond1, int cond2, int cond3) { diff --git gcc/testsuite/gcc.dg/tree-ssa/evrp11.c gcc/testsuite/gcc.dg/tree-ssa/evrp11.c index d791305..018aded 100644 --- gcc/testsuite/gcc.dg/tree-ssa/evrp11.c +++ gcc/testsuite/gcc.dg/tree-ssa/evrp11.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-evrp -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ extern void link_error (); diff --git gcc/testsuite/gcc.dg/tree-ssa/pr83648.c gcc/testsuite/gcc.dg/tree-ssa/pr83648.c index 954eb2f..d3dd12d 100644 --- gcc/testsuite/gcc.dg/tree-ssa/pr83648.c +++ gcc/testsuite/gcc.dg/tree-ssa/pr83648.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-local-pure-const-details -fdelete-null-pointer-checks" } */ +/* { dg-skip-if "" keeps_null_pointer_checks } */ void *g(unsigned n) {,