Go to file
Dodji Seketeli 9cf10655bb re PR c++/42225 (GCC 4.5 ICE (segfault) on C++ templated code)
Fix PR c++/42225

gcc/cp/ChangeLog:
	PR c++/42225
	* typeck.c (incompatible_dependent_typedefs_p): New function.
	(structural_comptypes): Use it.
	* cp-tree.h (cp_set_underlying_type): Declare ...
	* tree.c (cp_set_underlying_type): ... new function.
	* class.c (build_self_reference): Use cp_set_underlying_type
	instead of set_underlying_type.
	* decl2.c (grokfield): Likewise.
	* name-lookup.c (pushdecl_maybe_friend): Likewise.

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

From-SVN: r155160
2009-12-11 15:36:05 +01:00
boehm-gc Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
config largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and AC_CANONICAL_TARGET. 2009-11-30 16:38:14 +00:00
contrib
fixincludes Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
gcc re PR c++/42225 (GCC 4.5 ICE (segfault) on C++ templated code) 2009-12-11 15:36:05 +01:00
gnattools
include
INSTALL
intl
libada
libcpp * es.po: Update. 2009-12-10 22:32:34 +00:00
libdecnumber sarray.c (sarray_free): Use old_buckets variable. 2009-11-28 21:31:39 +01:00
libffi ffi.c (ffi_closure_sparc_inner_v9): Properly align 'long double' arguments. 2009-12-11 10:06:18 +00:00
libgcc re PR other/39888 (TLS emutls not linked to automatically on Darwin) 2009-11-18 08:36:12 +01:00
libgfortran re PR libfortran/41711 ([F08] BOZ edit-descr does not support reading large kind reals) 2009-12-08 15:12:06 +01:00
libgomp Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
libiberty * pex-unix.c (pex_unix_exec_child): Save/restore environ. 2009-12-08 07:05:35 +00:00
libjava pa-signal.h: Do not include ucontext.h. 2009-12-09 21:31:49 +00:00
libmudflap Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
libobjc Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
libssp Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
libstdc++-v3 re PR c++/42317 (Issues with comdat virtual dtors) 2009-12-10 22:58:49 +01:00
lto-plugin re PR bootstrap/42306 (Revision 155012 breaks lto-plugin) 2009-12-05 15:57:50 -08:00
maintainer-scripts
zlib Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ABOUT-NLS
ChangeLog MAINTAINERS (Write After Approval): Add myself. 2009-12-08 02:21:04 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess * config.guess: Update from upstream sources. 2009-11-20 09:47:13 +11:00
config.rpath
config.sub * config.sub, config.guess: Update from upstream sources. 2009-11-17 05:04:53 +11:00
configure re PR middle-end/30447 (Evaluate complex math functions at compile-time) 2009-12-06 16:11:06 +00:00
configure.ac re PR middle-end/30447 (Evaluate complex math functions at compile-time) 2009-12-06 16:11:06 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
lt~obsolete.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ltgcc.m4
ltmain.sh Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ltoptions.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
ltsugar.m4
ltversion.m4 Sync from git Libtool and regenerate. 2009-12-05 17:18:53 +00:00
MAINTAINERS MAINTAINERS (Write After Approval): Add myself. 2009-12-08 02:21:04 +00:00
Makefile.def Makefile.def: Restore host and target settings for gmp. 2009-11-16 22:56:33 +00:00
Makefile.in Makefile.def: Restore host and target settings for gmp. 2009-11-16 22:56:33 +00:00
Makefile.tpl configure.ac: Add libelf to host_libs. 2009-11-16 18:31:10 +00:00
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.