diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-07-07 21:52:01 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2009-07-07 21:52:01 +0000 |
commit | 5e278028ed86b38bc0b649aa6e351d35c6ad539c (patch) | |
tree | e14c2f08a9711f5cd94a281bba187340d63b46b2 /gcc/cp/semantics.c | |
parent | ed3346c20d1e764dcd98cd84e47d8f7a7ae72fcb (diff) | |
download | gcc-5e278028ed86b38bc0b649aa6e351d35c6ad539c.zip gcc-5e278028ed86b38bc0b649aa6e351d35c6ad539c.tar.gz gcc-5e278028ed86b38bc0b649aa6e351d35c6ad539c.tar.bz2 |
tree.c (set_expr_locus): Remove.
2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
* tree.c (set_expr_locus): Remove.
* tree.h (EXPR_LOCUS,SET_EXPR_LOCUS,set_expr_locus): Remove.
* c-typeck.c (c_finish_stmt_expr): Replace EXPR_LOCUS by
EXPR_LOCATION.
* gimplify.c (internal_get_tmp_var): Likewise.
(gimplify_call_expr): Likewise.
(gimplify_one_sizepos): Likewise.
objc/
* objc-act.c (next_sjlj_build_catch_list): Replace EXPR_LOCUS by
EXPR_LOCATION.
cp/
* semantics.c (finalize_nrv_r): Replace EXPR_LOCUS by
EXPR_LOCATION.
ada/
* gcc-interface/trans.c (gnat_gimplify_expr): Replace EXPR_LOCUS by
EXPR_LOCATION.
From-SVN: r149350
Diffstat (limited to 'gcc/cp/semantics.c')
-rw-r--r-- | gcc/cp/semantics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/semantics.c b/gcc/cp/semantics.c index 1b96ac2..aa52a36 100644 --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -3334,7 +3334,7 @@ finalize_nrv_r (tree* tp, int* walk_subtrees, void* data) else init = build_empty_stmt (EXPR_LOCATION (*tp)); DECL_INITIAL (dp->var) = NULL_TREE; - SET_EXPR_LOCUS (init, EXPR_LOCUS (*tp)); + SET_EXPR_LOCATION (init, EXPR_LOCATION (*tp)); *tp = init; } /* And replace all uses of the NRV with the RESULT_DECL. */ |