aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2009-07-07 21:52:01 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2009-07-07 21:52:01 +0000
commit5e278028ed86b38bc0b649aa6e351d35c6ad539c (patch)
treee14c2f08a9711f5cd94a281bba187340d63b46b2 /gcc/tree.c
parented3346c20d1e764dcd98cd84e47d8f7a7ae72fcb (diff)
downloadgcc-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/tree.c')
-rw-r--r--gcc/tree.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 2718667..7c5f154 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -3940,18 +3940,6 @@ expand_location (source_location loc)
}
-/* Source location accessor functions. */
-
-
-void
-set_expr_locus (tree node, source_location *loc)
-{
- if (loc == NULL)
- EXPR_CHECK (node)->exp.locus = UNKNOWN_LOCATION;
- else
- EXPR_CHECK (node)->exp.locus = *loc;
-}
-
/* Like SET_EXPR_LOCATION, but make sure the tree can have a location.
LOC is the location to use in tree T. */