]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
basic-block.h: Remove the prototype for merge_seq_blocks.
authorKazu Hirata <kazu@codesourcery.com>
Sat, 26 May 2007 15:16:45 +0000 (15:16 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 26 May 2007 15:16:45 +0000 (15:16 +0000)
* basic-block.h: Remove the prototype for merge_seq_blocks.
* cfgcleanup.c (merge_seq_blocks): Remove.

From-SVN: r125094

gcc/ChangeLog
gcc/basic-block.h
gcc/cfgcleanup.c

index cdd0b84ffc9aaab6173dba2378d9bebaa7edbd4c..d30b21b1028b4d3b0ad3200a156e82d730549b1b 100644 (file)
@@ -1,3 +1,8 @@
+2007-05-26  Kazu Hirata  <kazu@codesourcery.com>
+
+       * basic-block.h: Remove the prototype for merge_seq_blocks.
+       * cfgcleanup.c (merge_seq_blocks): Remove.
+
 2007-05-26  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/i386/i386-protos.h (ix86_expand_sse4_unpack): New.
index ce0aba06ade1896e1ad77055bae198142bf87b28..dd3bc1a2825e84ee8483d4b5edf5cb1ff783d8be 100644 (file)
@@ -919,7 +919,6 @@ extern void free_aux_for_edges (void);
 extern void find_basic_blocks (rtx);
 extern bool cleanup_cfg (int);
 extern bool delete_unreachable_blocks (void);
-extern bool merge_seq_blocks (void);
 
 extern bool mark_dfs_back_edges (void);
 extern void set_edge_can_fallthru_flag (void);
index d2738435804bfc7eacdbfca9c2eb701bdb89b17e..54d2321d60e6d989f8c4c83eda1943f535f3a0f0 100644 (file)
@@ -2166,31 +2166,6 @@ delete_unreachable_blocks (void)
     tidy_fallthru_edges ();
   return changed;
 }
-
-/* Merges sequential blocks if possible.  */
-
-bool
-merge_seq_blocks (void)
-{
-  basic_block bb;
-  bool changed = false;
-
-  for (bb = ENTRY_BLOCK_PTR->next_bb; bb != EXIT_BLOCK_PTR; )
-    {
-      if (single_succ_p (bb)
-         && can_merge_blocks_p (bb, single_succ (bb)))
-       {
-         /* Merge the blocks and retry.  */
-         merge_blocks (bb, single_succ (bb));
-         changed = true;
-         continue;
-       }
-
-      bb = bb->next_bb;
-    }
-
-  return changed;
-}
 \f
 /* Tidy the CFG by deleting unreachable code and whatnot.  */