This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove append_to_compound_expr
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 24 Jun 04 21:36:02 EDT
- Subject: Remove append_to_compound_expr
... before somebody gets tempted to use it!
It's not used anymore.
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.
*** gimplify.c 24 Jun 2004 23:12:29 -0000 2.26
--- gimplify.c 25 Jun 2004 01:31:17 -0000
*************** gimplify_and_add (tree t, tree *list_p)
*** 315,332 ****
}
- /* 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
--- 315,318 ----
*** tree-gimple.h 23 Jun 2004 07:43:19 -0000 2.9
--- tree-gimple.h 25 Jun 2004 01:31:17 -0000
*************** extern tree get_call_expr_in (tree t);
*** 83,88 ****
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 {
--- 83,86 ----