Go to file
Mark Mitchell 9c12301f5b re PR c++/13140 (declaration in global namespace, definition inside named or anon namespace)
PR c++/13140
	* decl.c (check_class_member_definition_namespace): New function.
	(grokfndecl): Use it.
	(grokvardecl): Likewise.
	(grokdecl): Improve documentation.
	* pt.c (check_explicit_instantiation_namespace): New function.
	(register_specialization): Call check_specialization_namespace
	when replacing an implicitly instantiated function.
	(check_explicit_specialization): Ensure that DECL_CONTEXT is set
	correctly for namespace-scope specializations.
	(do_decl_instantiation): Use
	check_explicit_instantiation_namespace.
	(do_type_instantiation): Likewise.

	PR c++/13140
	* g++.dg/parse/class2.C: New test.
	* g++.dg/template/explicit8.C: Likewise.
	* g++.dg/template/spec25.C: Likewise.

	* testsuite/testsuite_character.h: Specialize character<>
	templates in __gnu_cxx, not in __gnu_test.

From-SVN: r104310
2005-09-15 16:03:32 +00:00
boehm-gc
config
contrib
fastjar
fixincludes
gcc re PR c++/13140 (declaration in global namespace, definition inside named or anon namespace) 2005-09-15 16:03:32 +00:00
gnattools
include
INSTALL
intl
libada
libcpp
libffi
libgfortran PR fortran/21875 Internal Unit Array I/O, NIST 2005-09-14 20:18:19 +00:00
libiberty pex-win32.c: Include "windows.h". 2005-09-15 00:46:20 +00:00
libjava re PR libgcj/23762 (java.library.path should default to value of environment variable specified by LTDL_SHLIBPATH_VAR) 2005-09-12 23:50:01 +00:00
libmudflap
libobjc
libssp
libstdc++-v3 re PR c++/13140 (declaration in global namespace, definition inside named or anon namespace) 2005-09-15 16:03:32 +00:00
maintainer-scripts
zlib * Imported zlib 1.2.3; merged local changes. 2005-09-12 17:42:53 +00:00
.cvsignore
ABOUT-NLS
ChangeLog configure.in: Recognize f95 in the --enable-languages option... 2005-09-13 06:24:18 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure configure.in: Recognize f95 in the --enable-languages option... 2005-09-13 06:24:18 +00:00
configure.in configure.in: Recognize f95 in the --enable-languages option... 2005-09-13 06:24:18 +00:00
COPYING
COPYING.LIB
depcomp
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
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.