From: Jason Merrill Date: Fri, 20 May 2011 18:01:08 +0000 (-0400) Subject: * semantics.c (finish_call_expr): SET_EXPR_LOCATION. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e04dcd56f7d94288467234f065fca6006761cfe;p=gcc.git * semantics.c (finish_call_expr): SET_EXPR_LOCATION. From-SVN: r173964 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 118022e4d5d..61adf5fb9fd 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2011-05-20 Jason Merrill + + * semantics.c (finish_call_expr): SET_EXPR_LOCATION. + 2011-05-20 Joseph Myers * Make-lang.in (GXX_OBJS): Remove intl.o and version.o. diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 6b62dd2cb53..02e08e31025 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -2170,6 +2170,7 @@ finish_call_expr (tree fn, VEC(tree,gc) **args, bool disallow_virtual, if (TREE_CODE (result) == INDIRECT_REF) result = TREE_OPERAND (result, 0); result = build_call_vec (TREE_TYPE (result), orig_fn, orig_args); + SET_EXPR_LOCATION (result, input_location); KOENIG_LOOKUP_P (result) = koenig_p; release_tree_vector (orig_args); result = convert_from_reference (result);