aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2008-05-06 22:16:50 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2008-05-06 22:16:50 +0000
commitc6c6b7aa020899f10410c7d733214a413df1a2d6 (patch)
tree39cfbaaaba681f22fb12638b37efb384b8cdfd14 /gcc/tree-cfg.c
parent4247363384e11f7656ffdde380c6b6fa51ef8cd4 (diff)
downloadgcc-c6c6b7aa020899f10410c7d733214a413df1a2d6.zip
gcc-c6c6b7aa020899f10410c7d733214a413df1a2d6.tar.gz
gcc-c6c6b7aa020899f10410c7d733214a413df1a2d6.tar.bz2
tree-flow.h: Remove prototype for computed_goto_p.
* tree-flow.h: Remove prototype for computed_goto_p. * tree-cfg.c (computed_goto_p): Make static. From-SVN: r135009
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r--gcc/tree-cfg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 5dc9d04..add7362 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -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