public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/6589: [PCH] typo in cp/cp-tree.h
@ 2002-05-07 0:06 Geoffrey Keating
0 siblings, 0 replies; 2+ messages in thread
From: Geoffrey Keating @ 2002-05-07 0:06 UTC (permalink / raw)
To: gcc-gnats; +Cc: gcc-patches
>Number: 6589
>Category: bootstrap
>Synopsis: [PCH] typo in cp/cp-tree.h
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 07 00:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: k_fukui@highway.ne.jp
>Release: pch-branch from cvs
>Organization:
>Environment:
linuxppc
>Description:
build error by typo of cp/cp-tree.h
I have done PCH gcc compiling with my patch.
gcc -c -DIN_GCC -O2 -fsigned-char -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -Icp -I../../gcc -I../../gcc/cp -I../../gcc/config -I../../gcc/../include ../../gcc/cp/decl.c -o cp/decl.o
../../gcc/cp/decl.c: In function `build_ptrmemfunc_type':
../../gcc/cp/decl.c:9186: union has no member named `p'
../../gcc/cp/decl.c:9176: warning: `t' might be used uninitialized in this function
>How-To-Repeat:
normal bootstrap
>Fix:
diff -urN base/gcc/cp/cp-tree.h fixed/gcc/cp/cp-tree.h
--- base/gcc/cp/cp-tree.h Tue May 7 10:49:01 2002
+++ fixed/gcc/cp/cp-tree.h Tue May 7 14:27:50 2002
@@ -1302,7 +1302,7 @@
#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 */
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: bootstrap/6589: [PCH] typo in cp/cp-tree.h
@ 2002-05-07 11:03 geoffk
0 siblings, 0 replies; 2+ messages in thread
From: geoffk @ 2002-05-07 11:03 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, geoffk, geoffk, k_fukui, nobody
Synopsis: [PCH] typo in cp/cp-tree.h
Responsible-Changed-From-To: unassigned->geoffk
Responsible-Changed-By: geoffk
Responsible-Changed-When: Tue May 7 11:03:10 2002
Responsible-Changed-Why:
My branch.
State-Changed-From-To: open->closed
State-Changed-By: geoffk
State-Changed-When: Tue May 7 11:03:10 2002
State-Changed-Why:
Fixed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6589
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-07 18:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-07 0:06 bootstrap/6589: [PCH] typo in cp/cp-tree.h Geoffrey Keating
2002-05-07 11:03 geoffk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).