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 * include/private/gcconfig.h (HBLKSIZE): Define for x86-64. 2002-10-02 08:25:37 +02:00
config Makefile.in: Allow for PWDCMD to override hardcoded pwd. 2002-05-16 17:43:21 +00:00
contrib * btest-gcc.sh: Add gdb.sum to TESTLOGS only when GDB testsuite is run. 2002-10-22 20:02:49 +00:00
fastjar * jartool.c: Use mode 0666 when opening new file. 2002-10-20 23:30:24 +00:00
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 update_version: Do not check in files which are unchanged. 2002-09-24 03:44:36 +00:00
libffi java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret raw data as _Jv_word values, not ffi_raw. 2002-10-08 14:55:03 +00:00
libiberty * config.table: Use mh-s390pic for s390x too. 2002-10-16 22:07:03 +02:00
libjava configure.in: Disable hash sync when not using threads. 2002-10-29 23:03:17 +00:00
libobjc Makefile.am (all-multi): Fix multilib parallel build. 2002-09-23 03:52:55 +00:00
libstdc++-v3 Daily bump. 2002-10-30 08:17:49 +00:00
maintainer-scripts update_version: Do not check in files which are unchanged. 2002-09-24 03:44:36 +00:00
zlib Makefile.am (all-multi): Fix multilib parallel build. 2002-09-23 03:52:55 +00:00
.cvsignore configure, .cvsignore: Revert previous change... 2002-06-19 18:10:09 +00:00
ChangeLog * MAINTAINERS: Remove "co-maintainer" note for web pages. 2002-10-28 09:26:58 +00:00
config-ml.in config-ml.in doesn't need to worry about cygnus configure 2002-07-01 19:59:22 +00:00
config.guess config.sub: Import from master repository. 2002-08-20 21:53:28 +00:00
config.if config.if (libstdcxx_incdir): Version C++ headers. 2002-06-27 10:19:53 +00:00
config.sub config.sub: Import from master repository. 2002-08-20 21:53:28 +00:00
configure configure: Revert accidentally applied changes. 2002-09-29 16:11:24 +00:00
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 configure, configure: Rebuilt. 2002-08-14 02:40:00 +00:00
ltcf-c.sh configure, configure: Rebuilt. 2002-08-14 02:40:00 +00:00
ltcf-cxx.sh * ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*. 2002-07-04 22:52:03 +00:00
ltcf-gcj.sh
ltconfig configure, configure: Rebuilt. 2002-08-14 02:40:00 +00:00
ltmain.sh ltmain.sh: Detect and handle object name conflicts while piecewise linking a static library. 2002-05-06 21:26:49 +00:00
MAINTAINERS * MAINTAINERS: Remove "co-maintainer" note for web pages. 2002-10-28 09:26:58 +00:00
Makefile.def Makefile.def: Remove order dependency comments. 2002-10-02 06:27:24 +00:00
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.