Go to file
Kriang Lerdsuwanakij 7088fca941 Core issue 287, PR c++/7639
Core issue 287, PR c++/7639
	* cp-tree.h (lang_type_class): Add decl_list field.
	(CLASSTYPE_DECL_LIST): New macro.
	(maybe_add_class_template_decl_list): Add declaration.
	* class.c (duplicate_tag_error): Initialize CLASSTYPE_DECL_LIST.
	(unreverse_member_declarations): Reverse CLASSTYPE_DECL_LIST.
	(maybe_add_class_template_decl_list): New function.
	(add_implicitly_declared_members): Use it.
	* decl.c (maybe_process_template_type_declaration): Likewise.
	(pushtag): Likewise.
	* friend.c (add_friend): Likewise.
	(make_friend_class): Likewise.
	* semantics.c (finish_member_declaration): Likewise.
	(begin_class_definition): Initialize CLASSTYPE_DECL_LIST.
	* pt.c (instantiate_class_template): Use CLASSTYPE_DECL_LIST
	to process members and friends in the order of declaration.

	Core issue 287, PR c++/7639
	* g++.dg/template/instantiate1.C: Adjust error location.
	* g++.dg/template/instantiate3.C: New test.
	* g++.old-deja/g++.pt/crash10.C: Adjust error location.
	* g++.old-deja/g++.pt/derived3.C: Adjust error location.
	* g++.old-deja/g++.pt/spec28.C: Reorder declaration.

From-SVN: r58654
2002-10-30 15:54:10 +00:00
boehm-gc
config
contrib * btest-gcc.sh: Add gdb.sum to TESTLOGS only when GDB testsuite is run. 2002-10-22 20:02:49 +00:00
fastjar
gcc Core issue 287, PR c++/7639 2002-10-30 15:54:10 +00:00
include partition.h: Close the extern "C" scope when compiling with C++. 2002-10-27 01:00:34 +00:00
INSTALL
libf2c
libffi
libiberty
libjava configure.in: Disable hash sync when not using threads. 2002-10-29 23:03:17 +00:00
libobjc
libstdc++-v3 Daily bump. 2002-10-30 08:17:49 +00:00
maintainer-scripts
zlib
.cvsignore
ChangeLog * MAINTAINERS: Remove "co-maintainer" note for web pages. 2002-10-28 09:26:58 +00:00
config-ml.in
config.guess
config.if
config.sub
configure
configure.in configure.in (i[3456]86-*-linux*): Add check to disable ${libgcj} for glibc1. 2002-10-24 23:25:07 +00:00
COPYING
COPYING.LIB
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS * MAINTAINERS: Remove "co-maintainer" note for web pages. 2002-10-28 09:26:58 +00:00
Makefile.def
Makefile.in Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap, and restrap targets to this rule. 2002-10-25 22:49:58 +00:00
Makefile.tpl Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap, and restrap targets to this rule. 2002-10-25 22:49:58 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.