Go to file
Mark Mitchell fc6a28d763 re PR c++/18368 (C++ error message regression)
PR c++/18368
	* parser.c (cp_parser_check_for_definition_in_return_type): Take
	the defined type as a parameter, and inform the user about the
	possibility of a missing semicolon.
	(cp_parser_explicit_instantiation): Adjust call to
	cp_parser_check_for_definition_in_return_type.
	(cp_parser_init_declarator): Likewise.
	(cp_parser_member_declaration): Likewise.

	PR c++/18674
	* cp-tree.def (TYPENAME_TYPE): Remove discussion of implicit
	typename from comments.
	* cp-tree.h (TYPENAME_IS_ENUM_P): New macro.
	(TYPENAME_IS_CLASS_P): Likewise.
	(make_typename_type): Change prototype.
	* decl.c (struct_typename_info): New type.
	(typename_compare): Expect the second argument to be a
	typename_info, not a tree.
	(build_typename_type): Add tag_type parameter.  Do not create a
	new type until necessary.
	(make_typename_type): Add tag_type parameter.
	* error.c (TYPENAME_TYPE): Print tags other than "typename" if
	appropriate.
	* friend.c (make_friend_class): Adjust call to make_typename_type.
	* parser.c (cp_parser_make_typename_type): Likewise.
	(cp_parser_primary_expression): Adjust call to
	cp_parser_lookup_name.
	(cp_parser_unqualified_id): Adjust calls to cp_parser_class_name.
	(cp_parser_class_or_namespace_name): Likewise.
	(cp_parser_postfix_expression): Adjust calls to
	make_typename_type.
	(cp_parser_mem_initializer_id): Adjust calls to
	cp_parser_class_name.
	(cp_parser_type_parameter): Adjust calls to cp_parser_lookup_name.
	(cp_parser_template_name): Likewise.
	(cp_parser_template_argument): Likewise.
	(cp_parser_type_name): Adjust call to cp_parser_class_name.
	(cp_parser_elaborated_type_specifier): Adjust calls to
	make_typename_type and cp_parser_lookup_name.
	(cp_parser_namespace_name): Likewise.
	(cp_parser_class_name): Replace type_p parameter with tag_type.
	Adjust calls to make_typename_type and cp_parser_lookup_name.
	(cp_parser_class_head): Adjust calls to cp_parser_class_name.
	(cp_parser_base_specifier): Likewise.
	(cp_parser_lookup_name): Replace is_type parameter with tag_type.
	Adjust calls to make_typename_type and lookup_qualified_name.
	(cp_parser_lookup_name_simple): Adjust call to
	cp_parser_lookup_name.
	(cp_parser_constructor_declarator_p): Adjust call to
	cp_parser_class_name.
	* pt.c (convert_template_argument): Adjust all to
	make_typename_type.
	(tsubst_decl): Do not pre-substitute the type of the declaration.
	(tsubst): Hand off declarations more quickly.  Adjust call to
	make_typename_type.

	PR c++/18512
	* parser.c (cp_parser_postfix_dot_deref_expression): Robustify.

	PR c++/18674
	* g++.old-deja/g++.brendan/crash16.C: Adjust error messages.
	* g++.old-deja/g++.law/ctors5.C: Likewise.
	* g++.old-deja/g++.other/crash25.C: Likewise.

	PR c++/18674
	* g++.dg/template/error16.C: New test.

	PR c++/18512
	* g++.dg/template/crash29.C: New test.

From-SVN: r91483
2004-11-29 20:10:18 +00:00
boehm-gc gc_config.h.in: Add comment. 2004-11-27 17:44:31 +00:00
config warnings.m4: New file. 2004-09-24 21:39:06 +00:00
contrib gcc_update (touch_files): Don't rely on "make" being GNU make... 2004-11-20 10:49:16 +00:00
fastjar Makefile.am: Remove -no-dependencies. 2004-11-15 23:50:05 +00:00
fixincludes inclhack.def (gnu_types): Do not use on Solaris 2.1x. 2004-11-26 22:00:51 +00:00
gcc re PR c++/18368 (C++ error message regression) 2004-11-29 20:10:18 +00:00
include xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS, [...]): New. 2004-10-08 00:28:50 +00:00
INSTALL
intl aclocal.m4: Regenerate. 2004-11-24 21:53:28 +00:00
libada
libcpp re PR preprocessor/17610 (Empty #include statement halts gcc) 2004-11-28 22:28:13 +00:00
libffi libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. 2004-11-25 13:43:43 +00:00
libgfortran direct_io_2.f90: New test. 2004-11-28 21:14:02 +00:00
libiberty re PR other/18623 (4 * libiberty local variables set but never used) 2004-11-24 02:19:10 +00:00
libjava * link.cc (link_symbol_table): Do not use intptr_t. 2004-11-29 17:06:57 +00:00
libmudflap Makefile.am: Revert previous. 2004-11-25 13:35:35 +00:00
libobjc libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. 2004-11-25 13:43:43 +00:00
libstdc++-v3 18654.cc: Use better names. 2004-11-29 13:29:54 +00:00
maintainer-scripts * crontab: Rename GCC 3.5 snapshots to GCC 4.0 snapshots. 2004-09-11 18:53:55 +00:00
zlib libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. 2004-11-25 13:43:43 +00:00
.cvsignore
ABOUT-NLS
ChangeLog configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs. 2004-11-26 01:24:42 +00:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
compile install-sh, compile: Import from automake. 2004-11-16 01:04:30 +00:00
config-ml.in config-ml.in: Pass FCFLAGS for multilibs, handle GFORTRAN like CC. 2004-11-07 18:37:28 -05:00
config.guess config.guess, config.sub: Import from savannnah. 2004-11-16 00:57:01 +00:00
config.if
config.rpath
config.sub config.guess, config.sub: Import from savannnah. 2004-11-16 00:57:01 +00:00
configure configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs. 2004-11-26 01:24:42 +00:00
configure.in configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs. 2004-11-26 01:24:42 +00:00
COPYING
COPYING.LIB
depcomp config.guess: New upstream version 2004-09-23 01:21:50 +00:00
install-sh install-sh, compile: Import from automake. 2004-11-16 01:04:30 +00:00
libtool.m4 libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. 2004-11-25 13:43:43 +00:00
ltcf-c.sh ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltcf-cxx.sh ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltcf-gcj.sh
ltconfig ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltmain.sh ltmain.sh: Use $pic_object as $non_pic_object if $non_pic_object=none. 2004-09-08 11:43:46 -04:00
MAINTAINERS Added self as write-after-approval maintainer 2004-11-13 17:03:37 +00:00
Makefile.def Makefile.def: Add html support. 2004-11-13 07:32:48 +00:00
Makefile.in Makefile.def: Add html support. 2004-11-13 07:32:48 +00:00
Makefile.tpl Makefile.def: Add html support. 2004-11-13 07:32:48 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
README.SCO * README.SCO: Update per FSF instructions. 2004-11-01 02:19:48 +00:00
symlink-tree
ylwrap * Revert to previous version due to Binutils breakage. 2004-09-24 11:14:51 +00:00

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.