aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-eh.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-eh.c')
-rw-r--r--gcc/tree-eh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c
index b7ed2ed..a613db7 100644
--- a/gcc/tree-eh.c
+++ b/gcc/tree-eh.c
@@ -443,6 +443,8 @@ replace_goto_queue_stmt_list (tree t, struct leh_tf_state *tf)
static void
replace_goto_queue (struct leh_tf_state *tf)
{
+ if (tf->goto_queue_active == 0)
+ return;
replace_goto_queue_stmt_list (*tf->top_p, tf);
}