From: Eric Botcazou Date: Tue, 4 Jan 2005 12:45:42 +0000 (+0100) Subject: tree-eh.c (replace_goto_queue): Return early if the queue is empty. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8287d24ad5a12d6bc015a9c938a47c3ecb8a41f6;p=gcc.git tree-eh.c (replace_goto_queue): Return early if the queue is empty. * tree-eh.c (replace_goto_queue): Return early if the queue is empty. From-SVN: r92893 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54746d08328..c3960db14f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-01-04 Eric Botcazou + + * tree-eh.c (replace_goto_queue): Return early if the queue is empty. + 2005-01-04 Uros Bizjak PR target/19240 diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c index b7ed2edc387..a613db78a92 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); }