This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [IPA] Fix renaming of return variable
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 11 Apr 2006 14:26:19 -0400
- Subject: Re: [IPA] Fix renaming of return variable
- References: <20060411180407.GO6560@kam.mff.cuni.cz>
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.