From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by sourceware.org (Postfix) with ESMTP id 8A123385BF83 for ; Tue, 14 Apr 2020 08:37:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8A123385BF83 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-310-u8xn2m_SMqqygkBaVkk4Rg-1; Tue, 14 Apr 2020 04:37:36 -0400 X-MC-Unique: u8xn2m_SMqqygkBaVkk4Rg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EC900800D5C; Tue, 14 Apr 2020 08:37:34 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-112-104.ams2.redhat.com [10.36.112.104]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E767D28993; Tue, 14 Apr 2020 08:37:33 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id 03E8bVGw009149; Tue, 14 Apr 2020 10:37:31 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id 03E8bS03009147; Tue, 14 Apr 2020 10:37:28 +0200 Date: Tue, 14 Apr 2020 10:37:28 +0200 From: Jakub Jelinek To: Martin =?utf-8?B?TGnFoWth?= Cc: Jonathan Wakely , Jan Hubicka , Nathan Sidwell , GCC Patches , Marc Glisse Subject: Re: [PATCH] Allow new/delete operator deletion only for replaceable. Message-ID: <20200414083728.GH2424@tucnak> Reply-To: Jakub Jelinek References: <20d175a6-23df-43e5-7027-d11fc660abd1@suse.cz> <8cac5c65-3b93-1c9a-87e9-9e42eb876eba@suse.cz> <12cf42c1-88f9-7a08-fad8-b9830bd20fcf@suse.cz> <20200410091754.GQ2212@tucnak> <069c1c26-d74a-0eea-554b-1aeb6881dca7@suse.cz> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Status: No, score=-13.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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-List-Received-Date: Tue, 14 Apr 2020 08:37:39 -0000 On Tue, Apr 14, 2020 at 09:11:37AM +0200, Martin Li=C5=A1ka wrote: > +/* PR c++/94314. */ > +/* { dg-do run } */ > +/* { dg-options "-O2 -fdump-tree-cddce-details -std=3Dc++14" } */ > +/* { dg-additional-options "-fdelete-null-pointer-checks" } */ Any reason why you want to do it for -std=3Dc++14 only? Wouldn't // PR c++/94314 // { dg-do run { target c++14 } } // { dg-options "-O2 -fdelete-null-pointer-checks -fdump-tree-cddce-details= " } be better (and no need for dg-additional-options if you have dg-options already and don't have some effective target on it). > + > +#include What do you need stdio.h for? Otherwise, LGTM, but please give the C++ maintainers time to comment. =09Jakub