This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Factor out may_point_to_global_var from is_hidden_global_store
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 4 Feb 2009 12:16:39 -0800
- Subject: Re: [PATCH] Factor out may_point_to_global_var from is_hidden_global_store
- References: <Pine.LNX.4.64.0806031255050.26762@zhemvz.fhfr.qr> <Pine.LNX.4.64.0806111122320.4140@zhemvz.fhfr.qr>
On Wed, Jun 11, 2008 at 1:22 AM, Richard Guenther <rguenther@suse.de> wrote:
> On Tue, 3 Jun 2008, Richard Guenther wrote:
>
>>
>> tree-ssa-sink.c or is_hidden_global_store isn't the place to hide
>> alias implementation details about when a pointer may point to
>> global memory. Also the implementation can be simplified by
>> noting that when we know what a pointer points to, and it is not
>> pt_anything, we will always have a NMT.
>>
>> Bootstrapped and tested on x86_64-unknown-linux-gnu. I'll apply this
>> later after some time for comments.
>>
>> Richard.
>>
>> 2008-06-03 Richard Guenther <rguenther@suse.de>
>>
>> * tree-flow.h (may_point_to_global_var): Declare.
>> * tree-ssa-alias.c (may_point_to_global_var): New function.
>> * tree-ssa-sink.c (is_hidden_global_store): Use it.
>
> Committed as r136657.
>
This caused:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39100
--
H.J.