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]

[PATCH] Remove benign redefinition of C_EXP_ORIGINAL_CODE


cp/cp-tree.h defines C_EXP_ORIGINAL_CODE which is also defined
in c-common.h.  Since cp/cp-tree.h includes c-common.h the
repeated define is unnecessary.

Ira

                          ------------------

2001-05-11  Ira Ruben	<ira@apple.com>

	Remove a benign redefinition of a macro.
	* cp/cp-tree.h (C_EXP_ORIGINAL_CODE): Declared in c-common.h.

Index: cp-tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/cp-tree.h,v
retrieving revision 1.609
diff -c -3 -p -r1.609 cp-tree.h
*** cp-tree.h	2001/05/11 06:35:09	1.609
--- cp-tree.h	2001/05/11 18:42:21
*************** struct tree_srcloc
*** 527,536 ****
   /* In a RECORD_TYPE or UNION_TYPE, nonzero if any component is read-only.  */
   #define C_TYPE_FIELDS_READONLY(type) TYPE_LANG_FLAG_0 (type)

- /* Record in each node resulting from a binary operator
-    what operator was specified for it.  */
- #define C_EXP_ORIGINAL_CODE(exp) ((enum tree_code) TREE_COMPLEXITY (exp))
-
   /* Store a value in that field.  */
   #define C_SET_EXP_ORIGINAL_CODE(exp, code) \
     (TREE_COMPLEXITY (exp) = (int)(code))
--- 527,532 ----


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