This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [GOOGLE] Fix the error when backporting r193857 from trunk
- From: Xinliang David Li <davidxl at google dot com>
- To: Dehao Chen <dehao at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 22 Mar 2013 16:02:23 -0700
- Subject: Re: [GOOGLE] Fix the error when backporting r193857 from trunk
- References: <CAO2gOZXELUsV0mNYHDXKWjr=AnL06za30o_R=jb1yfH8wt4Mgg at mail dot gmail dot com> <CAO2gOZXJR=+w7BdH+NBpAYN-EYgO4fRqXoC3c=XvhbQV4UWJzA at mail dot gmail dot com>
ok.
David
On Fri, Mar 22, 2013 at 3:58 PM, Dehao Chen <dehao@google.com> wrote:
> forgot to attach the patch...
>
> Index: gcc/ipa-prop.c
> ===================================================================
> --- gcc/ipa-prop.c (revision 196984)
> +++ gcc/ipa-prop.c (working copy)
> @@ -2473,7 +2473,6 @@
> base = gimple_call_arg (stmt, adj->base_index);
> loc = DECL_P (base) ? DECL_SOURCE_LOCATION (base)
> : EXPR_LOCATION (base);
> - loc = EXPR_LOCATION (base);
>
> if (TREE_CODE (base) != ADDR_EXPR
> && POINTER_TYPE_P (TREE_TYPE (base)))
>
> On Fri, Mar 22, 2013 at 3:46 PM, Dehao Chen <dehao@google.com> wrote:
>> Hi,
>>
>> This patch fixes the error in r193861, which backported r193857 from trunk.
>>
>> Bootstrapped and passed all gcc regression tests.
>>
>> Is it okay for google-4_7?
>>
>> Thanks,
>> Dehao