This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Remove benign redefinition of C_EXP_ORIGINAL_CODE
- To: gcc-patches at gcc dot gnu dot org
- Subject: [PATCH] Remove benign redefinition of C_EXP_ORIGINAL_CODE
- From: Ira Ruben <ira at apple dot com>
- Date: Fri, 11 May 2001 12:21:00 -0700
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 ----