From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128401 invoked by alias); 27 Jul 2018 12:38:16 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 128382 invoked by uid 89); 27 Jul 2018 12:38:15 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy= X-HELO: mail3-relais-sop.national.inria.fr Received: from mail3-relais-sop.national.inria.fr (HELO mail3-relais-sop.national.inria.fr) (192.134.164.104) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Jul 2018 12:38:14 +0000 Received: from ip-209.net-89-2-64.rev.numericable.fr (HELO stedding) ([89.2.64.209]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jul 2018 14:38:11 +0200 Date: Fri, 27 Jul 2018 12:38:00 -0000 From: Marc Glisse Reply-To: gcc-patches@gcc.gnu.org To: =?ISO-8859-15?Q?Martin_Li=A8ka?= cc: gcc-patches@gcc.gnu.org, Jan Hubicka , Nathan Sidwell Subject: Re: [PATCH] Add malloc predictor (PR middle-end/83023). In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT X-SW-Source: 2018-07/txt/msg01719.txt.bz2 On Fri, 27 Jul 2018, Martin Liška wrote: > So answer is yes, the builtin can be then removed. Good, thanks. While looking at how widely it is going to apply, I noticed that the default, throwing operator new has attribute malloc and everything, but the non-throwing variant declared in doesn't, so it won't benefit from the new predictor. I don't know if there is a good reason for this disparity... -- Marc Glisse