aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
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/objc
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/objc')
-rw-r--r--gcc/objc/ChangeLog5
-rw-r--r--gcc/objc/objc-act.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 2268413..00475c1 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,5 +1,10 @@
2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
+ * objc-act.c (next_sjlj_build_catch_list): Replace EXPR_LOCUS by
+ EXPR_LOCATION.
+
+2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
+
* objc-act.c: Replace %J by an explicit location. Update all
calls.
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 917caf1..23aae28 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -3669,7 +3669,7 @@ next_sjlj_build_catch_list (void)
cond = c_common_truthvalue_conversion (input_location, t);
}
t = build3 (COND_EXPR, void_type_node, cond, body, NULL);
- SET_EXPR_LOCUS (t, EXPR_LOCUS (stmt));
+ SET_EXPR_LOCATION (t, EXPR_LOCATION (stmt));
*last = t;
last = &COND_EXPR_ELSE (t);