From: J"orn Rennecke Date: Tue, 29 Jun 2004 10:19:42 +0000 (+0000) Subject: cfglayout.c (fixup_reorder_chain): Don't do anything for e_fall->dest == EXIT_BLOCK_PTR. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=313329e13b280e3edc77f4efe308419c24e1913d;p=gcc.git cfglayout.c (fixup_reorder_chain): Don't do anything for e_fall->dest == EXIT_BLOCK_PTR. * cfglayout.c (fixup_reorder_chain): Don't do anything for e_fall->dest == EXIT_BLOCK_PTR. From-SVN: r83849 --- 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 + + * 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 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