This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]