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: Dehao Chen <dehao at google dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: David Li <davidxl at google dot com>
- Date: Fri, 22 Mar 2013 15:58:21 -0700
- Subject: Re: [GOOGLE] Fix the error when backporting r193857 from trunk
- References: <CAO2gOZXELUsV0mNYHDXKWjr=AnL06za30o_R=jb1yfH8wt4Mgg at mail dot gmail dot com>
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