Go to file
Kriang Lerdsuwanakij 461c6fce56 Friend class name lookup 1/n, PR c++/18471
Friend class name lookup 1/n, PR c++/18471
	* decl.c (lookup_and_check_tag): New function.
	(xref_tag, start_enum): Use it.
	(check_elaborated_type_specifier): Move TEMPLATE_TYPE_PARM check
	before !DECL_IMPLICIT_TYPEDEF_P.  Also display previously declared
	location.
	* name-lookup.c (lookup_name_current_level): Rename to ...
	(lookup_name_innermost_nonclass_level): ... this.
	(lookup_type_scope): New function.
	* name-lookup.h (lookup_name_current_level): Rename to ...
	(lookup_name_innermost_nonclass_level): ... this.
	(lookup_type_scope): Add declaration.

	* g++.dg/lookup/struct1.C: Adjust expected error.
	* g++.dg/parse/elab1.C: Likewise.
	* g++.dg/parse/elab2.C: Likewise.
	* g++.dg/parse/int-as-enum1.C: Likewise.
	* g++.dg/parse/struct-as-enum1.C: Likewise.
	* g++.dg/parse/typedef1.C: Likewise.
	* g++.dg/parse/typedef3.C: Likewise.
	* g++.dg/parse/typedef4.C: Likewise.
	* g++.dg/parse/typedef5.C: Likewise.
	* g++.dg/template/nontype4.C: Likewise.
	* g++.old-deja/g++.benjamin/typedef01.C: Likewise.
	* g++.old-deja/g++.other/elab1.C: Likewise.
	* g++.old-deja/g++.other/syntax4.C: Likewise.

From-SVN: r90657
2004-11-15 10:34:06 +00:00
boehm-gc Makefile.am: Define ACLOCAL_AMFLAGS. 2004-11-05 01:51:50 +00:00
config
contrib * gcc_update (touch_files): Explicitly pass --no-print-directory. 2004-11-14 06:31:00 +00:00
fastjar Makefile.am: Define ACLOCAL_AMFLAGS. 2004-11-13 16:38:04 +00:00
fixincludes inclhack.def (hpux_maxint, [...]): Remove. 2004-11-13 20:41:01 +00:00
gcc Friend class name lookup 1/n, PR c++/18471 2004-11-15 10:34:06 +00:00
include xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS, [...]): New. 2004-10-08 00:28:50 +00:00
INSTALL
intl
libada * Makefile.in: Add .NOEXPORT. 2004-05-25 19:37:02 +00:00
libcpp * cpplib.pot: Regenerate. 2004-11-09 22:02:09 +00:00
libffi ffi.c (ffi_prep_cif_machdep): Handle functions that return long long values. 2004-10-27 15:10:22 +00:00
libgfortran Committed wrong version of previous patch. 2004-11-10 02:44:39 +00:00
libiberty Revert Index->Manual Index until --no-split is removed... 2004-11-13 17:00:09 +00:00
libjava re PR testsuite/14264 (testsuite should set LC_ALL/LANG to C) 2004-11-12 11:43:57 -08:00
libmudflap configure.ac: (target_alias): Default to $host_alias, not $target. 2004-11-01 21:27:26 +00:00
libobjc Ignore autom4te.cache 2004-10-23 02:34:54 +00:00
libstdc++-v3 lwg-active.html, [...]: Import Revision 33. 2004-11-15 09:05:27 +00:00
maintainer-scripts
zlib CRLF fixup 2004-10-19 22:00:48 +00:00
.cvsignore configure, .cvsignore: Revert previous change... 2002-06-19 18:10:09 +00:00
ABOUT-NLS
ChangeLog Fixed missing space in ChangeLog entry 2004-11-13 17:08:27 +00:00
ChangeLog.tree-ssa
compile
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.if * config.if: Remove unused libc_interface determination. 2003-07-16 06:34:53 +00:00
config.rpath
config.sub
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.LIB
depcomp
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh ltcf-c.sh (tpf*): Add ld_shlibs=yes. 2004-10-02 16:33:06 +00:00
ltcf-gcj.sh
ltconfig
ltmain.sh
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
README
README.SCO * README.SCO: Update per FSF instructions. 2004-11-01 02:19:48 +00:00
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.