Go to file
Dodji Seketeli e96ce650a8 Fix PR c++/42225, take 2
gcc/cp/ChangeLog:
	PR c++/42225
	* pt.c (push_template_decl_real): Set DECL_CONTEXT of template type
	parms to their containing template decl.
	* typeck.c (comp_template_parms_position): Split this from
	structural_comptypes.
	(incompatible_template_type_parms_p): Renamed
	incompatible_dependent_typedefs_p into this. Change the function to
	handle comparison between TEMPLATE_TYPE_PARMs only.
	(structural_comptypes): Use comp_template_parms_position in
	TEMPLATE_TEMPLATE_PARM and BOUND_TEMPLATE_TEMPLATE_PARM cases.
	Use incompatible_template_type_parms_p in TEMPLATE_TYPE_PARM case.
	* mangle.c (decl_mangling_context): Template type parms don't have
	a mangling context.
	* tree.c (cp_set_underlying_type): Set type structural equality
	only for TEMPLATE_TYPE_PARMs.

gcc/testsuite/ChangeLog:
	PR c++/42225
	* g++.dg/template/typedef26.C: New test.

From-SVN: r155363
2009-12-19 23:40:37 +01:00
boehm-gc
config
contrib
fixincludes
gcc Fix PR c++/42225, take 2 2009-12-19 23:40:37 +01:00
gnattools
include
INSTALL
intl
libada
libcpp
libdecnumber
libffi ffitest.h: Define PRIuPTR on PA HP-UX. 2009-12-15 23:55:56 +00:00
libgcc
libgfortran Increase clock resolution for system_clock_8. 2009-12-19 12:43:11 +02:00
libgomp re PR testsuite/42135 (FAIL: libgomp.graphite/force-parallel-2.c execution test) 2009-12-18 07:38:06 +00:00
libiberty
libjava
libmudflap
libobjc
libssp
libstdc++-v3 condition_variable: Revert inadvertent changes. 2009-12-18 09:44:54 +00:00
lto-plugin
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog * config.sub, config.guess: Update from upstream sources. 2009-12-18 14:35:42 +11:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess * config.sub, config.guess: Update from upstream sources. 2009-12-18 14:35:42 +11:00
config.rpath
config.sub * config.sub, config.guess: Update from upstream sources. 2009-12-18 14:35:42 +11:00
configure
configure.ac
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with 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/ for how to report bugs usefully.