From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118097 invoked by alias); 17 Feb 2017 10:35:40 -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 118053 invoked by uid 89); 17 Feb 2017 10:35:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*r:rev.sfr.net, H*r:192.134.164, H*F:D*inria.fr, H*R:D*gcc.gnu.org X-HELO: mail2-relais-roc.national.inria.fr Received: from mail2-relais-roc.national.inria.fr (HELO mail2-relais-roc.national.inria.fr) (192.134.164.83) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Feb 2017 10:35:27 +0000 Received: from 138.78.140.77.rev.sfr.net (HELO stedding) ([77.140.78.138]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Feb 2017 11:35:25 +0100 Date: Fri, 17 Feb 2017 10:52:00 -0000 From: Marc Glisse Reply-To: gcc-patches@gcc.gnu.org To: Richard Biener cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Fix PR79547 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-SW-Source: 2017-02/txt/msg01101.txt.bz2 On Fri, 17 Feb 2017, Richard Biener wrote: > On Thu, 16 Feb 2017, Richard Biener wrote: > >> >> I am testing the following patch for PR79547. Those builtins do not >> return anything that can be used to re-construct the pointer(s) passed >> to them. >> >> Queued for GCC 8. > > Actually we need calluse constraints. Thus adjusted as follows. > > Richard. > > 2017-02-17 Richard Biener > > PR tree-optimization/79547 > * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): > Handle strlen, strcmp, strncmp, strcasecmp, strncasecmp, memcmp, > bcmp, strspn, strcspn, __builtin_object_size and __builtin_constant_p > without any constraints. We have EAF_NOESCAPE that we are using for non-builtins, though it probably gets little use there. Would it make sense to use it here as well, or would that be pointless? -- Marc Glisse