diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2004-06-25 01:33:42 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2004-06-24 21:33:42 -0400 |
commit | f0d59f2e4329ac3ddf2e5c1af8025c88325053b4 (patch) | |
tree | e7f65ed9c992c119d3c510db2b3c3b684c4837ac /gcc | |
parent | 0c3b8d135d94e03d34a137a13857436be536ac66 (diff) | |
download | gcc-f0d59f2e4329ac3ddf2e5c1af8025c88325053b4.zip gcc-f0d59f2e4329ac3ddf2e5c1af8025c88325053b4.tar.gz gcc-f0d59f2e4329ac3ddf2e5c1af8025c88325053b4.tar.bz2 |
gimplify.c (append_to_compound_expr): Deleted.
* gimplify.c (append_to_compound_expr): Deleted.
* tree-gimple.h (append_to_compound_expr): Deleted.
From-SVN: r83629
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/gimplify.c | 14 | ||||
-rw-r--r-- | gcc/tree-gimple.h | 2 |
3 files changed, 3 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e4f9cb1..7e545ce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2004-06-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> + * gimplify.c (append_to_compound_expr): Deleted. + * tree-gimple.h (append_to_compound_expr): Deleted. + * fold-const.c (fold_addr_expr_with_type): Look through all valid LHS modifiers to find a base to mark addressable. diff --git a/gcc/gimplify.c b/gcc/gimplify.c index a050b20..fc7cc9d 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -314,20 +314,6 @@ gimplify_and_add (tree t, tree *list_p) append_to_statement_list (t, list_p); } -/* Add T to the end of a COMPOUND_EXPR pointed by LIST_P. The type - of the result is the type of T. */ - -void -append_to_compound_expr (tree t, tree *list_p) -{ - if (!t) - return; - if (!*list_p) - *list_p = t; - else - *list_p = build (COMPOUND_EXPR, TREE_TYPE (t), *list_p, t); -} - /* Strip off a legitimate source ending from the input string NAME of length LEN. Rather than having to know the names used by all of our front ends, we strip off an ending of a period followed by diff --git a/gcc/tree-gimple.h b/gcc/tree-gimple.h index 9b86e98..3be5389 100644 --- a/gcc/tree-gimple.h +++ b/gcc/tree-gimple.h @@ -82,8 +82,6 @@ extern tree get_call_expr_in (tree t); extern void recalculate_side_effects (tree); -extern void append_to_compound_expr (tree, tree *); - /* FIXME we should deduce this from the predicate. */ typedef enum fallback_t { fb_none = 0, |