tree-flow.h: Remove prototype for computed_goto_p.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 6 May 2008 22:16:50 +0000 (22:16 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 6 May 2008 22:16:50 +0000 (22:16 +0000)
        * tree-flow.h: Remove prototype for computed_goto_p.
        * tree-cfg.c (computed_goto_p): Make static.

From-SVN: r135009

gcc/ChangeLog
gcc/tree-cfg.c
gcc/tree-flow.h

index d1772078bbd77a7ed8476c91b0f82638145a34e6..83312ca148a8b5bfd3810fc5778ad1a7808ebdf3 100644 (file)
@@ -1,3 +1,8 @@
+2008-05-06  Aldy Hernandez  <aldyh@redhat.com>
+
+       * tree-flow.h: Remove prototype for computed_goto_p.
+       * tree-cfg.c (computed_goto_p): Make static.
+
 2008-05-06  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/35657
index 5dc9d045a90ded537440aa1bfc8175414f422459..add7362d7d36dfe19449e79c4353633e33bc5d52 100644 (file)
@@ -102,6 +102,7 @@ static int tree_verify_flow_info (void);
 static void tree_make_forwarder_block (edge);
 static void tree_cfg2vcg (FILE *);
 static inline void change_bb_for_stmt (tree t, basic_block bb);
+static bool computed_goto_p (const_tree);
 
 /* Flowgraph optimization and cleanup.  */
 static void tree_merge_blocks (basic_block, basic_block);
@@ -2514,7 +2515,7 @@ is_ctrl_altering_stmt (const_tree t)
 
 /* Return true if T is a computed goto.  */
 
-bool
+static bool
 computed_goto_p (const_tree t)
 {
   return (TREE_CODE (t) == GOTO_EXPR
index e36493dae42e81c0aaba740c89a484c30416b133..0b803cb7adb4302a52a69cebd58f15e4f42b9654 100644 (file)
@@ -731,7 +731,6 @@ extern void delete_tree_cfg_annotations (void);
 extern bool stmt_ends_bb_p (const_tree);
 extern bool is_ctrl_stmt (const_tree);
 extern bool is_ctrl_altering_stmt (const_tree);
-extern bool computed_goto_p (const_tree);
 extern bool simple_goto_p (const_tree);
 extern bool tree_can_make_abnormal_goto (const_tree);
 extern basic_block single_noncomplex_succ (basic_block bb);