From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7252 invoked by alias); 18 Aug 2009 09:33:34 -0000 Received: (qmail 7243 invoked by uid 22791); 18 Aug 2009 09:33:33 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Aug 2009 09:33:26 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MdL49-000590-0s for gcc@gcc.gnu.org; Tue, 18 Aug 2009 11:33:17 +0200 Received: from 193.128.72.68 ([193.128.72.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Aug 2009 11:33:17 +0200 Received: from thomas.gill by 193.128.72.68 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Aug 2009 11:33:17 +0200 To: gcc@gcc.gnu.org From: "Ned Gill" Subject: Re: Trying to backport alias fix to 4.2 Date: Tue, 18 Aug 2009 14:08:00 -0000 Message-ID: References: <84fc9c000908180214x5f85c03ie8b3da8e4a713932@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 Content-Transfer-Encoding: 7bit In-Reply-To: <84fc9c000908180214x5f85c03ie8b3da8e4a713932@mail.gmail.com> User-Agent: Opera Mail/9.64 (Win32) X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-08/txt/msg00315.txt.bz2 On Tue, 18 Aug 2009 10:14:37 +0100, Richard Guenther wrote: > It sounds like a bug in points-to analysis where it doesn't correctly > handle return values of pure/const functions. I would just > add a constraint from anything to the lhs of the call to fix it. Thanks for the quick reply. Could you expand a little - should I be looking at tree-ssa-alias.c or tree-ssa-pre.c? I'm not really familiar with this part of the compiler. What do you mean by "constraint" in this context? Thanks, Ned. --