diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-11 15:57:34 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-11 15:57:34 +0000 |
commit | 04404a66beb70f1cc64d7d59f02ee0e72f215d94 (patch) | |
tree | 521dcabb59fa669cd29aed162f2e230534876651 /gcc/bb-reorder.c | |
parent | 0da10b3351eb090d02e134549f7321876f7c2be5 (diff) | |
download | gcc-04404a66beb70f1cc64d7d59f02ee0e72f215d94.tar.gz |
* bb-reorder.c (fixup_reorder_chain): Fallthru edge to exit block
is OK.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45542 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r-- | gcc/bb-reorder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index c048ac872ab..96c38965ff9 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -695,6 +695,10 @@ fixup_reorder_chain () if (RBI (bb)->next == e_fall->dest) continue; + /* An fallthru to exit block. */ + if (!RBI (bb)->next && e_fall->dest == EXIT_BLOCK_PTR) + continue; + /* We need a new jump insn. If the block has only one outgoing edge, then we can stuff the new jump insn in directly. */ if (bb->succ->succ_next == NULL) |