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 854141fed44731a34259ea586f2cbaf01ad0611b..01c0285f4be01f8df2a67fca63c39151133c1248 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 0c13c56385004023cbc9f90eefb8a8b9f713f8e5..e887015ac7f75d6f6fda49a4915e14a1f051bf6e 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