Go to file
Simon Martin 02022f3a70 re PR c++/29475 (incomplete template diagnostics.)
PR c++/29475
	* cp-tree.h (enforce_access, perform_or_defer_access_check): Added an
	extra argument that represents the declaration to use to print
	potential error messages.
	* init.c (build_offset_ref): Adjusted the call to
	perform_or_defer_access_check.
	* class.c (alter_access, resolve_address_of_overloaded_function):
	Likewise.
	* decl.c (make_typename_type, make_unbound_class_template): Likewise. 
	* search.c (lookup_member): Likewise.
	* friend.c (add_friend): Likewise.
	* parser.c (cp_parser_template_id,
	cp_parser_pre_parsed_nested_name_specifier): Likewise.
	* semantics.c (finish_non_static_data_member,
	check_accessibility_of_qualified_id, finish_id_expression): Likewise.
	(pop_to_parent_deferring_access_checks, perform_access_checks,
	perform_or_defer_access_check): Adjusted the call to enforce_access.
	* call.c (enforce_access): Use the new extra argument to build the
	error message.
	(build_op_delete_call): Adjusted the call to
	perform_or_defer_access_check.
	(build_over_call): Likewise.

	PR c++/29475
	* g++.dg/template/access19.C: New test.
	* g++.old-deja/g++.other/access11.C: Adjusted the line where the
	error is reported.

From-SVN: r119027
2006-11-20 21:15:44 +00:00
boehm-gc re PR boehm-gc/29180 (boehm-gc/darwin_stop_world.c not 64-bit clean) 2006-09-26 17:21:32 +00:00
config * tls.m4 (GCC_CHECK_TLS): Fall back to a link test. 2006-11-13 20:35:20 +00:00
contrib * compareSumTests3: POD syntax fix. 2006-09-28 02:03:46 +00:00
fixincludes inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3 systems. 2006-11-07 17:34:40 +00:00
gcc re PR c++/29475 (incomplete template diagnostics.) 2006-11-20 21:15:44 +00:00
gnattools --(top level)-------------------------------------------- 2006-10-10 16:48:09 -07:00
include
INSTALL
intl Makefile.in (distclean): Delete config files. 2006-09-27 18:51:52 +09:30
libada re PR ada/29802 (wrong directory in makefile for ada and libada when srcdir=.) 2006-11-17 10:31:47 +00:00
libcpp cpplib.h (enum c_lang): Add CLK_GNUCXX0X and CLK_CXX0X for experimental C++0x mode. 2006-11-01 16:27:23 +00:00
libdecnumber --(top level)-------------------------------------------- 2006-10-10 16:48:09 -07:00
libffi Fix date on ChangeLog entry 2006-11-01 05:42:01 +00:00
libgfortran 2006-11-17 Jerry DeLisle <jvdelisle@fcc.gnu.org 2006-11-17 23:30:49 +00:00
libgomp * tls.m4 (GCC_CHECK_TLS): Fall back to a link test. 2006-11-13 20:35:20 +00:00
libiberty pex-win32.c (no_suffixes): Remove. 2006-11-08 18:16:27 +00:00
libjava mips-signal.h (sys/syscall.h): Do not include. 2006-11-20 19:49:08 +00:00
libmudflap * tls.m4 (GCC_CHECK_TLS): Fall back to a link test. 2006-11-13 20:35:20 +00:00
libobjc In gcc/: PR 23067 2006-11-01 05:28:41 +00:00
libssp Index: config/ChangeLog 2006-10-15 07:42:57 +00:00
libstdc++-v3 functional (hash(long long), [...]): Add specializations. 2006-11-19 16:23:17 +00:00
maintainer-scripts * crontab: Add 4.2 branch. Set trunk to 4.3. 2006-10-21 03:15:08 +00:00
zlib
ABOUT-NLS
ChangeLog MAINTAINERS list - adding myself 2006-11-20 14:18:03 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess config.guess: Import latest version. 2006-10-16 13:27:17 +10:00
config.rpath
config.sub config.guess: Import latest version. 2006-10-16 13:27:17 +10:00
configure configure.in (--with-mpfr-dir): Also look in .libs and _libs for libmpfr.a. 2006-11-18 14:08:54 +00:00
configure.in configure.in (--with-mpfr-dir): Also look in .libs and _libs for libmpfr.a. 2006-11-18 14:08:54 +00:00
COPYING
COPYING.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig ltconfig: chmod 644 before ranlib during install. 2006-07-04 20:20:01 +00:00
ltmain.sh Port to hosts whose 'sort' and 'tail' implementations treat operands with leading '+' as file names... 2006-07-06 23:24:51 +00:00
MAINTAINERS MAINTAINERS list - adding myself 2006-11-20 14:18:03 +00:00
Makefile.def --(top level)-------------------------------------------- 2006-10-10 16:48:09 -07:00
Makefile.in re PR ada/29802 (wrong directory in makefile for ada and libada when srcdir=.) 2006-11-17 10:31:47 +00:00
Makefile.tpl re PR ada/29802 (wrong directory in makefile for ada and libada when srcdir=.) 2006-11-17 10:31:47 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
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.