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
This commit is contained in:
J"orn Rennecke 2004-06-29 10:19:42 +00:00 committed by Joern Rennecke
parent 35a1e17e48
commit 313329e13b
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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