Go to file
Mark Mitchell 8f78f01f72 re PR c++/16965 (Confusing mismatch in error messages)
PR c++/16965
	* cp-tree.h (qualified_name_lookup_error): Add parameter.
	* name-lookup.c (do_class_using_decl): Restrict set of entities
	passed to cp_emit_debug_info_for_using more carefully.
	(lookup_qualified_name): Allow lookup_member to return sets of
	ambiguous entries.
	* parser.c (cp_parser_lookup_name): Add ambiguous_p parameter.
	(cp_parser_primary_expression): Handle ambiguous lookups.
	(cp_parser_template_name): Adjust use of cp_parser_lookup_name.
	(cp_parser_template_argument): Likewise.
	(cp_parser_elaborate_type_specifier): Likewise.
	(cp_parser_namespace_name): Likewise.
	(cp_parser_class_name): Likewise.
	(cp_parser_lookup_name_simple): Likewise.
	* pt.c (tsubst_qualified_id): Handle ambiguous results.
	(tsubst_expr): Likewise.
	* semantics.c (qualified_name_lookup_error): Add decl paramter.
	For ambiguous lookups, print candidates.

	PR c++/16965
	* g++.dg/parse/error17.C: New test.

From-SVN: r86137
2004-08-17 17:32:37 +00:00
boehm-gc specific.c: Check GC_LINUX_THREADS before including private/specific.h. 2004-08-17 00:06:46 +01:00
config 2004-08-13 Nathanael Nerode <neroden@gcc.gnu.org> 2004-08-13 22:31:45 +00:00
contrib gcc_update: libjava/configure.ac -> configure.in. 2004-08-04 12:08:09 +00:00
fastjar re PR bootstrap/16164 (automake 1.8.5 upgrade changed fastjar into a read-write source directory) 2004-08-11 00:56:23 +00:00
gcc re PR c++/16965 (Confusing mismatch in error messages) 2004-08-17 17:32:37 +00:00
include libiberty.h (XDELETE, [...]): Remove any const-qualification before disposal. 2004-08-02 16:45:52 +00:00
INSTALL
intl Makefile.in (top_builddir): Define to . 2004-05-25 20:16:56 +00:00
libada * Makefile.in: Add .NOEXPORT. 2004-05-25 19:37:02 +00:00
libbanshee * engine/util.c (vfail): Remove unnecessary sync, fsync, and fflush. 2004-07-07 18:08:49 -07:00
libcpp configure.in (arm*-*-eabi*): New target. 2004-08-11 02:50:14 +00:00
libffi ffi.c (ffi_pref_cif_machdep): set cif->flags' to contain FFI_TYPE_UINT64' as return type for any 64-bit... 2004-08-15 04:05:18 +00:00
libgfortran Corrected typo in PR number, previous commit 2004-08-13 22:25:06 +00:00
libiberty * lrealpath.c (lrealpath): Add _WIN32 support. 2004-06-29 11:37:20 +00:00
libjava Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read. 2004-08-17 16:10:02 +00:00
libmudflap mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin. 2004-08-03 14:19:26 +00:00
libobjc sarray.h: Hoist include of assert.h near the top of file... 2004-08-13 22:50:09 +00:00
libstdc++-v3 baseline_symbols.txt: Update to 3.4.0. 2004-08-17 15:17:03 +00:00
maintainer-scripts gcc_release (build_sources): Add comment header to generated MD5SUMS. 2004-08-14 16:47:52 +00:00
zlib configure.ac: New name of configure.in. 2004-06-15 14:47:55 +00:00
.cvsignore
ABOUT-NLS
ChangeLog Makefile.in: Regenerate. 2004-08-17 07:27:16 +00:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
compile compile: New file imported from automake. 2004-03-21 18:38:56 +00:00
config-ml.in config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77 like CC. 2004-05-30 23:54:22 +02:00
config.guess Index: ChangeLog 2004-02-20 16:15:55 +00:00
config.if
config.rpath
config.sub Index: ChangeLog 2004-02-20 16:15:55 +00:00
configure Makefile.in: Regenerate. 2004-08-17 07:27:16 +00:00
configure.in Makefile.in: Regenerate. 2004-08-17 07:27:16 +00:00
COPYING
COPYING.LIB
depcomp Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
install-sh re PR bootstrap/11932 (Parallel bootstrap failure with sparc libiberty multilib) 2004-02-20 02:01:16 +00:00
libtool.m4 re PR bootstrap/15120 ([3.3 only] [libtool bug] hidden symbol `__sdivsi3_i4' is referenced by DSO) 2004-05-18 10:11:38 +00:00
ltcf-c.sh Patch from Robert Millan. 2004-04-26 23:14:30 -07:00
ltcf-cxx.sh Index: ChangeLog 2004-08-03 00:52:18 +00:00
ltcf-gcj.sh Patch from Robert Millan. 2004-04-26 23:14:30 -07:00
ltconfig Patch from Robert Millan. 2004-04-26 23:14:30 -07:00
ltmain.sh Partial merge from upstream: 2004-02-04 23:58:48 +00:00
MAINTAINERS * MAINTAINERS: Remove myself from write-after-approval. 2004-08-13 14:29:31 +00:00
Makefile.def Makefile.in: Regenerate. 2004-08-17 07:27:16 +00:00
Makefile.in Makefile.in: Regenerate. 2004-08-17 07:27:16 +00:00
Makefile.tpl Makefile.in: Regenerate. 2004-08-17 07:27:16 +00:00
missing
mkdep
mkinstalldirs re PR bootstrap/11932 (Parallel bootstrap failure with sparc libiberty multilib) 2004-02-20 02:01:16 +00:00
move-if-change
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
README.SCO
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.