diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 854141fed447..01c0285f4be0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-29 J"orn Rennecke + + * cfglayout.c (fixup_reorder_chain): Don't do anything for + e_fall->dest == EXIT_BLOCK_PTR. + 2004-06-28 Richard Henderson * tree-cfg.c (verify_stmt): Add last_in_block parameter. Verify diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index 0c13c5638500..e887015ac7f7 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