diff options
author | Richard Henderson <rth@redhat.com> | 2004-06-19 12:34:23 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-06-19 12:34:23 -0700 |
commit | 7c34ced1a25f62ed12b1bf1158167fe157b60ae7 (patch) | |
tree | 8c9a0bb986a33bc83bc0dbbec28fa39603c3a2c6 /gcc/c-common.h | |
parent | ebca59c355524893ef3facf6ad12074e4661348e (diff) | |
download | gcc-7c34ced1a25f62ed12b1bf1158167fe157b60ae7.zip gcc-7c34ced1a25f62ed12b1bf1158167fe157b60ae7.tar.gz gcc-7c34ced1a25f62ed12b1bf1158167fe157b60ae7.tar.bz2 |
c-common.c, c-common.h (lang_gimplify_stmt): Remove.
* c-common.c, c-common.h (lang_gimplify_stmt): Remove.
* c-gimplify.c: Remove unnecessary prototypes.
(c_gimplify_stmt): Merge into ...
(c_gimplify_expr): ... here. Don't play with prep_stmt.
* c-semantics.c (prep_stmt): Remove.
* gimplify.c (annotate_one_with_locus): Break out from ...
(annotate_all_with_locus): ... here.
(gimplify_expr): Add locus to expressions even if pre/post queues
are not present.
cp/
* cp-gimplify.c: Remove unnecessary prototypes.
(cp_gimplify_stmt): Merge into ...
(cp_gimplify_expr): ... here. Move to end of file. Handle
stmts_are_full_exprs_p frobbing.
* cp-tree.h (cp_gimplify_stmt): Remove.
* pt.c (tsubst_expr): Merge prep_stmt and unify.
* tree.c (init_tree): Don't set lang_gimplify_stmt.
From-SVN: r83397
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index 337eb6d..b1c49b1 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -280,7 +280,6 @@ struct c_language_function GTY(()) { /* Language-specific hooks. */ -extern int (*lang_gimplify_stmt) (tree *); extern void (*lang_expand_function_end) (void); /* Callback that determines if it's ok for a function to have no @@ -299,7 +298,6 @@ extern void add_decl_stmt (tree); extern void push_cleanup (tree, tree, bool); extern tree walk_stmt_tree (tree *, walk_tree_fn, void *); -extern void prep_stmt (tree); extern int c_expand_decl (tree); extern int field_decl_cmp (const void *, const void *); @@ -1113,14 +1111,13 @@ extern void dump_time_statistics (void); extern bool c_dump_tree (void *, tree); -extern int c_gimplify_expr (tree *, tree *, tree *); extern tree c_walk_subtrees (tree*, int*, walk_tree_fn, void*, void*); extern void c_warn_unused_result (tree *); -/* In c-simplify.c */ +/* In c-gimplify.c */ extern void c_genericize (tree); -extern int c_gimplify_stmt (tree *); +extern int c_gimplify_expr (tree *, tree *, tree *); extern tree c_build_bind_expr (tree, tree); extern void pch_init (void); |