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]

[patch] c-tree.h: Remove C_LANG_TREE_NODE_CHAIN_NEXT.


Hi,

Attached is a patch to remove C_LANG_TREE_NODE_CHAIN_NEXT as it is
unused.

It was introduced when tree-ssa was merged into mainline in May, 2004,
but at that time, the macro was already unused.

Tested on i686-pc-linux-gnu.  OK to apply?

Kazu Hirata

2005-04-08  Kazu Hirata  <kazu@cs.umass.edu>

	* c-tree.h (C_LANG_TREE_NODE_CHAIN_NEXT): Remove.

Index: c-tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-tree.h,v
retrieving revision 1.199
diff -u -d -p -r1.199 c-tree.h
--- c-tree.h	30 Mar 2005 19:56:29 -0000	1.199
+++ c-tree.h	8 Apr 2005 00:02:46 -0000
@@ -30,13 +30,6 @@ Software Foundation, 59 Temple Place - S
 #define C_SIZEOF_STRUCT_LANG_IDENTIFIER \
   (sizeof (struct c_common_identifier) + 3 * sizeof (void *))
 
-/* For gc purposes, return the most likely link for the longest chain.  */
-#define C_LANG_TREE_NODE_CHAIN_NEXT(T)				\
-  ((union lang_tree_node *)					\
-   (TREE_CODE (T) == INTEGER_TYPE ? TYPE_NEXT_VARIANT (T)	\
-    : TREE_CODE (T) == COMPOUND_EXPR ? TREE_OPERAND (T, 1)	\
-    : TREE_CHAIN (T)))
-
 /* Language-specific declaration information.  */
 
 struct lang_decl GTY(())


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