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]

[tree-ssa] Minor cleanup


This function has been dead since the move from SIMPLE to GENERIC.

2002-12-31  Steven Bosscher  <s.bosscher@student.tudelft.nl>

        * gimplify.c (create_tmp_var_noc): Remove unused function.
	* tree-simple.h: Kill prototype.

Index: gimplify.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/Attic/gimplify.c,v
retrieving revision 1.1.2.16
diff -c -p -r1.1.2.16 gimplify.c
*** gimplify.c	23 Dec 2002 03:54:03 -0000	1.1.2.16
--- gimplify.c	1 Jan 2003 01:26:37 -0000
*************** add_tree (t, list_p)
*** 1536,1551 ****
  
  /*  Create a new temporary variable declaration of type TYPE.  Returns the
      newly created decl and pushes it into the current binding.  */
- tree 
- create_tmp_var_noc (type, prefix)
-     tree type;
-     const char *prefix;
- {
-   return create_tmp_var (type, prefix);
- } 
- 
- /*  Create a new temporary variable declaration of type TYPE.  Returns the
-     newly created decl and pushes it into the current binding.  */
  
  tree
  create_tmp_var (type, prefix)
--- 1536,1541 ----
Index: tree-simple.h
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/Attic/tree-simple.h,v
retrieving revision 1.1.4.17
diff -c -p -r1.1.4.17 tree-simple.h
*** tree-simple.h	2 Dec 2002 20:42:50 -0000	1.1.4.17
--- tree-simple.h	1 Jan 2003 01:26:42 -0000
*************** Boston, MA 02111-1307, USA.  */
*** 26,32 ****
  extern void insert_before_continue_end PARAMS ((tree, tree));
  extern void tree_build_scope           PARAMS ((tree *));
  extern tree create_tmp_var             PARAMS ((tree, const char *));
- extern tree create_tmp_var_noc         PARAMS ((tree, const char *));
  extern tree create_tmp_alias_var       PARAMS ((tree, const char *));
  extern bool is_simple_tmp_var	       PARAMS ((tree));
  extern tree get_initialized_tmp_var    PARAMS ((tree, tree *));
--- 26,31 ----


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