OSDN Git Service

* tree-flow.h: Remove prototype for computed_goto_p.
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2008 22:16:50 +0000 (22:16 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 May 2008 22:16:50 +0000 (22:16 +0000)
        * tree-cfg.c (computed_goto_p): Make static.

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

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

index d177207..83312ca 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 5dc9d04..add7362 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 e36493d..0b803cb 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);