diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2008-05-06 22:16:50 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2008-05-06 22:16:50 +0000 |
commit | c6c6b7aa020899f10410c7d733214a413df1a2d6 (patch) | |
tree | 39cfbaaaba681f22fb12638b37efb384b8cdfd14 /gcc | |
parent | 4247363384e11f7656ffdde380c6b6fa51ef8cd4 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-cfg.c | 3 | ||||
-rw-r--r-- | gcc/tree-flow.h | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d177207..83312ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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 diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index e36493d..0b803cb 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -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); |