diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cfglayout.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 854141fed44..01c0285f4be 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-29 J"orn Rennecke <joern.rennecke@superh.com> + + * cfglayout.c (fixup_reorder_chain): Don't do anything for + e_fall->dest == EXIT_BLOCK_PTR. + 2004-06-28 Richard Henderson <rth@redhat.com> * tree-cfg.c (verify_stmt): Add last_in_block parameter. Verify diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index 0c13c563850..e887015ac7f 100644 --- a/gcc/cfglayout.c +++ b/gcc/cfglayout.c @@ -665,8 +665,7 @@ fixup_reorder_chain (void) { /* If the old fallthru is still next, nothing to do. */ if (bb->rbi->next == e_fall->dest - || (!bb->rbi->next - && e_fall->dest == EXIT_BLOCK_PTR)) + || e_fall->dest == EXIT_BLOCK_PTR) continue; /* The degenerated case of conditional jump jumping to the next |