This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Cleanup last_location and update input_location in ipa_prop
On Thu, Nov 8, 2012 at 6:39 PM, Dehao Chen <dehao@google.com> wrote:
> ping...
The emit-rtl.c hunk is ok. I'm questioning the ipa-prop.c hunk though - what
looks at input_location (nothing outside of the frontend should, really).
Thanks,
Richard.
>
> On Mon, Nov 5, 2012 at 5:20 PM, Dehao Chen <dehao@google.com> wrote:
>>
>> Hi,
>>
>> This is a patch to do some obvious cleanup and setting correct
>> input_location in ipa_prop (because it invokes gimplification
>> routines).
>>
>> Bootstrapped and passed gcc regression tests.
>>
>> Is it okay for trunk?
>>
>> Thanks,
>> Dehao
>>
>> gcc/ChangeLog:
>> 2010-11-05 Dehao Chen <dehao@google.com>
>>
>> * ipa-prop.c (ipa_modify_call_arguments): Set input_location so that
>> gimplification routines can have right location.
>> * emit-rtl.c (last_location): Remove unused variable.