diff options
| author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-22 18:54:25 +0000 |
|---|---|---|
| committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-22 18:54:25 +0000 |
| commit | 9e3dfcb8bffe216400be668a4506b2da0f9e2394 (patch) | |
| tree | 77016ed9c30718657394daa0615bb2a3468cf004 | |
| parent | 051d93c10edb0180328b29ced254887202028bfd (diff) | |
| download | ppe42-gcc-9e3dfcb8bffe216400be668a4506b2da0f9e2394.tar.gz ppe42-gcc-9e3dfcb8bffe216400be668a4506b2da0f9e2394.zip | |
* c-semantics.c (re_push_stmt_list): Remove.
* c-common.h: Remove the corresponding prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89468 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/c-common.h | 1 | ||||
| -rw-r--r-- | gcc/c-semantics.c | 23 |
3 files changed, 5 insertions, 24 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8c9726c47c3..8858f73cd5f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2004-10-22 Kazu Hirata <kazu@cs.umass.edu> + * c-semantics.c (re_push_stmt_list): Remove. + * c-common.h: Remove the corresponding prototype. + +2004-10-22 Kazu Hirata <kazu@cs.umass.edu> + * stmt.c (asm_op_is_mem_input): Remove. * tree.h: Remove the corresponding prototype. diff --git a/gcc/c-common.h b/gcc/c-common.h index 8f2763819a0..77e2c279bc3 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -295,7 +295,6 @@ extern void pop_file_scope (void); extern int yyparse (void); extern stmt_tree current_stmt_tree (void); extern tree push_stmt_list (void); -extern tree re_push_stmt_list (tree); extern tree pop_stmt_list (tree); extern tree add_stmt (tree); extern void push_cleanup (tree, tree, bool); diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c index f011cb90a1e..658a12dcd2f 100644 --- a/gcc/c-semantics.c +++ b/gcc/c-semantics.c @@ -58,29 +58,6 @@ push_stmt_list (void) return t; } -/* Similarly, except that T may have already been pushed/popped, and - thus may already contain statement(s). Arrage for new statements - to be appended. */ - -tree -re_push_stmt_list (tree t) -{ - if (t) - { - if (TREE_CODE (t) != STATEMENT_LIST) - { - tree u = alloc_stmt_list (); - append_to_statement_list_force (t, &u); - t = u; - } - } - else - t = alloc_stmt_list (); - TREE_CHAIN (t) = cur_stmt_list; - cur_stmt_list = t; - return t; -} - /* Finish the statement tree rooted at T. */ tree |

