aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 7952965..c9bf5ab 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -1802,6 +1802,9 @@ flow_delete_insn (insn)
else
set_last_insn (prev);
+ if (GET_CODE (insn) == CODE_LABEL)
+ remove_node_from_expr_list (insn, &nonlocal_goto_handler_labels);
+
/* If deleting a jump, decrement the use count of the label. Deleting
the label itself should happen in the normal course of block merging. */
if (GET_CODE (insn) == JUMP_INSN && JUMP_LABEL (insn))