[IPA] Fix renaming of return variable

Daniel Berlin dberlin@dberlin.org
Tue Apr 11 19:54:00 GMT 2006


On Apr 11, 2006, at 2:04 PM, Jan Hubicka wrote:

> Hi,
> tree-inliner sometimes called mark_sym_for_renaming on memory  
> reference.
> The easiest way I know about to unwind up to inner term is bellow,  
> but I
> am not quite convinced this is best way to go.  Ideas?
> I am commiting it for now however.
>

get_base_var from ipa-utils.c should help here.

Given an INDIRECT_REF, or any other sort of REF, it should return the  
base variable.





More information about the Gcc-patches mailing list