[PATCH] Track pure function call uses separately

Richard Guenther rguenther@suse.de
Thu Jun 26 20:46:00 GMT 2008


On Thu, 26 Jun 2008, Daniel Berlin wrote:

> On Thu, Jun 26, 2008 at 12:34 PM, Richard Guenther <rguenther@suse.de> wrote:
>>
>> This adds the ability (on top of
>> http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01432.html - PING for that)
>
> I thought I okayed that one on IRC.
> I will do so explicitly in a moment.
>
>
>> to track the call-uses of pure function calls separately (globbed
>> per function though).  This fixes the regression on tree-ssa/pr24287.c
>> of the aforementioned patch and should in general reduce the amount
>> of call-clobbered variables for functions calling pure functions.
>
> Does this mean i can do the pure/const patch i had before and not have
> it break stuff?
> :)

No, it means the optimization is taken care of with this patch.

;)

Richard.



More information about the Gcc-patches mailing list