cfglayout.c (fixup_reorder_chain): Don't do anything for e_fall->dest == EXIT_BLOCK_PTR.
authorJ"orn Rennecke <joern.rennecke@superh.com>
Tue, 29 Jun 2004 10:19:42 +0000 (10:19 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 29 Jun 2004 10:19:42 +0000 (11:19 +0100)
* cfglayout.c (fixup_reorder_chain): Don't do anything for
e_fall->dest == EXIT_BLOCK_PTR.

From-SVN: r83849

gcc/ChangeLog
gcc/cfglayout.c

index 854141f..01c0285 100644 (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
index 0c13c56..e887015 100644 (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