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]

Re: bootstrap/6589: [PCH] typo in cp/cp-tree.h



Thank you!

I will commit the attached patch.  (At least, I hope it gets attached.)

-- 
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/ChangeLog,v
retrieving revision 1.2639.2.10
diff -p -u -p -r1.2639.2.10 ChangeLog
--- ChangeLog	6 May 2002 18:51:49 -0000	1.2639.2.10
+++ ChangeLog	7 May 2002 17:53:58 -0000
@@ -1,3 +1,8 @@
+2002-05-07  Geoffrey Keating  <geoffk@redhat.com>
+
+	* cp-tree.h [! ENABLE_TREE_CHECKING] (LANG_TYPE_PTRMEM_CHECK):
+	Correct typo.  Patch from k_fukui@highway.ne.jp.
+
 2002-05-03  Geoffrey Keating  <geoffk@redhat.com>
 
 	* semantics.c (current_stmt_tree): Update for change to
Index: cp-tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/cp-tree.h,v
retrieving revision 1.671.2.7
diff -p -u -p -r1.671.2.7 cp-tree.h
--- cp-tree.h	6 May 2002 18:51:59 -0000	1.671.2.7
+++ cp-tree.h	7 May 2002 17:53:59 -0000
@@ -1302,7 +1302,7 @@ struct lang_type GTY(())
 #else
 
 #define LANG_TYPE_CLASS_CHECK(NODE) (&TYPE_LANG_SPECIFIC (NODE)->u.c)
-#define LANG_TYPE_PTRMEM_CHECK(NODE) (&TYPE_LANG_SPECIFIC (NODE)->u.p)
+#define LANG_TYPE_PTRMEM_CHECK(NODE) (&TYPE_LANG_SPECIFIC (NODE)->u.ptrmem)
 
 #endif /* ENABLE_TREE_CHECKING */
 

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