diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2005-01-04 13:45:42 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2005-01-04 12:45:42 +0000 |
commit | 8287d24ad5a12d6bc015a9c938a47c3ecb8a41f6 (patch) | |
tree | cae6c8b85c739a5e342cba8936e7053af9942b47 /gcc | |
parent | e550819c8087c1399ae6668ff9eeab71504f9595 (diff) | |
download | gcc-8287d24ad5a12d6bc015a9c938a47c3ecb8a41f6.zip gcc-8287d24ad5a12d6bc015a9c938a47c3ecb8a41f6.tar.gz gcc-8287d24ad5a12d6bc015a9c938a47c3ecb8a41f6.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/tree-eh.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54746d0..c3960db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-01-04 Eric Botcazou <ebotcazou@libertysurf.fr> + + * tree-eh.c (replace_goto_queue): Return early if the queue is empty. + 2005-01-04 Uros Bizjak <uros@kss-loka.si> PR target/19240 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); } |