This is the mail archive of the 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]

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

>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
>Release:        pch-branch from cvs
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

normal bootstrap
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 @@

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