Commit 330f36dc authored by jason's avatar jason
Browse files

* semantics.c (finish_call_expr): SET_EXPR_LOCATION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173964 138bc75d-0d04-0410-961f-82ee72b054a4
parent f0246315
2011-05-20 Jason Merrill <jason@redhat.com>
* semantics.c (finish_call_expr): SET_EXPR_LOCATION.
2011-05-20 Joseph Myers <joseph@codesourcery.com>
* Make-lang.in (GXX_OBJS): Remove intl.o and version.o.
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment