Go to file
Richard Guenther a844a60b40 re PR c++/44871 (Invalid type mismatches while merging C and C++ sources)
2010-12-02  Richard Guenther  <rguenther@suse.de>

	PR lto/44871
	* gimple.c (canonical_type_hash_cache): New hashtable.
	(gimple_type_hash): Make a wrapper around ...
	(gimple_type_hash_1): ... this.  Take gtc_mode argument.
	(gimple_canonical_type_hash): Likewise.
	(gtc_visit): Take a gtc_mode argument.
	(gimple_types_compatible_p_1): Likewise. Do not compare struct
	tag names or field names when computing canonical types.
	(gimple_types_compatible_p): Adjust.
	(visit): Take a gtc_mode argument.
	(iterative_hash_gimple_type): Likewise.  Do not hash struct tag
	names or field names when computing hashes of canonical types.
	(gimple_register_canonical_type): Use gimple_canonical_type_hash
	for the hash.
	(print_gimple_types_stats): Dump stats of canonical_type_hash_cache.
	(free_gimple_type_tables): Free canonical_type_hash_cache.

	* g++.dg/lto/20101126-1_0.C: New testcase.
	* g++.dg/lto/20101126-1_1.c: Likewise.

From-SVN: r167367
2010-12-02 12:24:46 +00:00
boehm-gc
config
contrib
fixincludes
gcc re PR c++/44871 (Invalid type mismatches while merging C and C++ sources) 2010-12-02 12:24:46 +00:00
gnattools
include
INSTALL
intl
libada
libcpp
libdecnumber
libffi ffitest.h [__sgi] (PRId64, PRIu64): Define. 2010-12-01 14:00:01 +00:00
libgcc
libgfortran
libgomp * configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS. 2010-12-01 14:01:48 +00:00
libiberty
libjava
libmudflap
libobjc
libquadmath re PR fortran/46594 (libquadmath intrudes generic (file system) namespace) 2010-11-30 13:58:42 +01:00
libssp
libstdc++-v3 2.cc: Fix to explicitely invoke the copy construtor with or without C++0x mode. 2010-12-01 20:51:38 +00:00
lto-plugin config.h.in: Regenerated. 2010-12-01 17:57:47 +01:00
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
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.