Go to file
Kriang Lerdsuwanakij 29ef83dee9 Friend class name lookup 2/n, PR c++/14513, c++/15410
Friend class name lookup 2/n, PR c++/14513, c++/15410
	* name-lookup.c (lookup_name_real): Simplify.
	(lookup_type_scope): Add SCOPE parameter.  Handle friend class
	lookup.
	* name-lookup.h (tag_scope): New enum type.
	(lookup_type_scope): Adjust declaration.
	* decl.c (lookup_and_check_tag, xref_tag, xref_tag_from_type):
	Change bool parameter GLOBALIZED to TAG_SCOPE parameter SCOPE.
	(start_enum): Likewise.  Add assertion test that NAME is
	IDENTIFIER_NODE.  Use anonymous name for dummy ENUMERAL_TYPE in
	case of error.
	* cp-tree.h (xref_tag, xref_tag_from_type): Adjust declarations.
	* parser.c (cp_parser_elaborated_type_specifier,
	cp_parser_class_head): Adjust call to xref_tag.
	* pt.c (lookup_template_class, instantiate_class_template):
	Likewise.
	* rtti.c (init_rtti_processing, build_dynamic_cast_1,
	tinfo_base_init, emit_support_tinfos): Likewise.

	* g++.dg/lookup/friend2.C: New test.
	* g++.dg/template/friend31.C: Likewise.

From-SVN: r91299
2004-11-25 16:55:34 +00:00
boehm-gc libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. 2004-11-25 13:43:43 +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 mkfixinc.sh: Check error code from 'cat'. 2004-11-23 22:45:53 +00:00
gcc Friend class name lookup 2/n, PR c++/14513, c++/15410 2004-11-25 16:55:34 +00:00
include xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS, [...]): New. 2004-10-08 00:28:50 +00:00
INSTALL README: Update wrt. 2001-06-13 14:51:33 +00:00
intl aclocal.m4: Regenerate. 2004-11-24 21:53:28 +00:00
libada * Makefile.in: Add .NOEXPORT. 2004-05-25 19:37:02 +00:00
libcpp aclocal.m4: Regenerate. 2004-11-24 21:53:28 +00:00
libffi libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. 2004-11-25 13:43:43 +00:00
libgfortran libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. 2004-11-25 13:43:43 +00:00
libiberty re PR other/18623 (4 * libiberty local variables set but never used) 2004-11-24 02:19:10 +00:00
libjava libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. 2004-11-25 13:43:43 +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 ChangeLog: Remove duplicate lines. 2004-11-25 16:07:47 +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 configure, .cvsignore: Revert previous change... 2002-06-19 18:10:09 +00:00
ABOUT-NLS intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
ChangeLog libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. 2004-11-25 13:43:43 +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.if: Remove unused libc_interface determination. 2003-07-16 06:34:53 +00:00
config.rpath intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
config.sub config.guess, config.sub: Import from savannnah. 2004-11-16 00:57:01 +00:00
configure re PR other/18423 (powerpc-eabisim build broken due to configure skipping fixincludes) 2004-11-12 19:15:22 +00:00
configure.in re PR other/18423 (powerpc-eabisim build broken due to configure skipping fixincludes) 2004-11-12 19:15:22 +00:00
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 21:47:20 +00:00
COPYING.LIB COPYING.LIB: Update to LGPL 2.1 from the FSF. 2001-01-29 13:32:47 +00:00
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 Patch from Robert Millan. 2004-04-26 23:14:30 -07:00
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 missing: Import latest version from master repository. 2004-09-07 08:33:10 +00:00
mkdep merge with /cvs/src 2000-07-22 04:08:22 -04:00
mkinstalldirs re PR bootstrap/11932 (Parallel bootstrap failure with sparc libiberty multilib) 2004-02-20 02:01:16 +00:00
move-if-change FSF address fix in copyright header. 1999-01-11 07:12:18 -07:00
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
README.SCO * README.SCO: Update per FSF instructions. 2004-11-01 02:19:48 +00:00
symlink-tree * config-ml.in, symlink-tree: Add license. 2003-08-14 16:44:23 -04:00
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.