summaryrefslogtreecommitdiff
path: root/gcc/tree-eh.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2009-06-15 14:27:18 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2009-06-15 14:27:18 +0000
commitd40eb1588359deacf6d7d32de236231e5ee04905 (patch)
tree675c658fb5a68a4856057fc5a1a9a8a4ba5b3a12 /gcc/tree-eh.c
parentfc26fae3db8a2eacc73224e2b3e0ab2aa3201eeb (diff)
downloadgcc-d40eb1588359deacf6d7d32de236231e5ee04905.tar.gz
except.c (init_eh): Use BUILTINS_LOCATION when calling build_decl.
* except.c (init_eh): Use BUILTINS_LOCATION when calling build_decl. * tree-eh.c (lower_try_finally_switch): Initialize tf_loc. From-SVN: r148493
Diffstat (limited to 'gcc/tree-eh.c')
-rw-r--r--gcc/tree-eh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c
index e38b1bd8160..b8972063c9d 100644
--- a/gcc/tree-eh.c
+++ b/gcc/tree-eh.c
@@ -1333,7 +1333,7 @@ lower_try_finally_switch (struct leh_state *state, struct leh_tf_state *tf)
gimple_seq finally;
struct pointer_map_t *cont_map = NULL;
/* The location of the TRY_FINALLY stmt. */
- location_t tf_loc;
+ location_t tf_loc = gimple_location (tf->try_finally_expr);
/* The location of the finally block. */
location_t finally_loc;