OSDN Git Service

* cfglayout.c (fixup_reorder_chain): Don't do anything for
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jun 2004 10:19:42 +0000 (10:19 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Jun 2004 10:19:42 +0000 (10:19 +0000)
e_fall->dest == EXIT_BLOCK_PTR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83849 138bc75d-0d04-0410-961f-82ee72b054a4

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