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 re PR target/26427 (with -fsection-anchors with zero sized structs) 2010-11-29 14:58:16 +00:00
config bootstrap-lto.mk (BOOT_ADAFLAGS): Delete. 2010-11-27 15:53:23 +00:00
contrib make_sunver.pl: Use elfdump -s to extract symbols if possible, readelf -s otherwise. 2010-11-25 18:16:57 +00:00
fixincludes PR other/46202: implement install-strip. 2010-11-20 19:37:08 +00:00
gcc re PR c++/44871 (Invalid type mismatches while merging C and C++ sources) 2010-12-02 12:24:46 +00:00
gnattools PR other/46202: implement install-strip. 2010-11-20 19:37:08 +00:00
include simple-object.h (simple_object_attributes_merge): Declare, replacing simple_object_attributes_compare. 2010-11-17 01:03:06 +00:00
INSTALL
intl Fix unportable shell quoting. 2010-09-27 20:19:41 +00:00
libada PR other/46202: implement install-strip. 2010-11-20 19:37:08 +00:00
libcpp * es.po: Update. 2010-11-23 23:26:07 +00:00
libdecnumber cppbuiltin.c (define_builtin_macros_for_type_sizes): Define __FLOAT_WORD_ORDER__ according to FLOAT_WORDS_BIG_ENDIAN. 2010-11-24 23:29:41 +00:00
libffi ffitest.h [__sgi] (PRId64, PRIu64): Define. 2010-12-01 14:00:01 +00:00
libgcc cppbuiltin.c (define_builtin_macros_for_type_sizes): Define __FLOAT_WORD_ORDER__ according to FLOAT_WORDS_BIG_ENDIAN. 2010-11-24 23:29:41 +00:00
libgfortran re PR fortran/32049 (Support on x86_64 also kind=16) 2010-11-16 22:23:19 +01:00
libgomp * configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS. 2010-12-01 14:01:48 +00:00
libiberty * setproctitle.c [HAVE_SYS_PRCTL_H]: Include <sys/types.h>. 2010-11-29 10:18:05 +00:00
libjava jvmti.exp (gcj_jvmti_compile_cxx_to_o): Add -pthread on alpha*-dec-osf*. 2010-11-09 09:38:23 +00:00
libmudflap re PR testsuite/20003 (libmudflap.cth timeouts too short) 2010-10-31 22:04:20 -04:00
libobjc In libobjc/: 2010-11-23 Richard Frith-Macdonald <rfm@gnu.org> 2010-11-23 19:20:54 +00:00
libquadmath re PR fortran/46594 (libquadmath intrudes generic (file system) namespace) 2010-11-30 13:58:42 +01:00
libssp configure.ac (gfortran_use_symver): Only check for Sun-style symbol versioning on Solaris 2. 2010-07-02 16:17:04 +00:00
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 gcc_release (snapshot_print): Also include an sha1 hash for every tarball. 2010-08-23 18:52:06 +00:00
zlib
ABOUT-NLS
ChangeLog configure.ac: Move comment to remove extra space in last argument of GCC_TARGET_TOOL. 2010-11-29 10:53:25 +00:00
ChangeLog.tree-ssa
compile
config-ml.in config-ml.in: Add Go support... 2010-11-19 20:25:49 +00:00
config.guess
config.rpath
config.sub
configure re PR fortran/46020 (Improve error string for BIND(C) diagnostic for len>1 character return type) 2010-11-26 04:25:32 +00:00
configure.ac configure.ac: Move comment to remove extra space in last argument of GCC_TARGET_TOOL. 2010-11-29 10:53:25 +00:00
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 MAINTAINERS (Write After Approval): Add myself. 2010-11-18 20:56:26 +00:00
Makefile.def re PR fortran/46020 (Improve error string for BIND(C) diagnostic for len>1 character return type) 2010-11-26 04:25:32 +00:00
Makefile.in re PR fortran/46020 (Improve error string for BIND(C) diagnostic for len>1 character return type) 2010-11-26 04:25:32 +00:00
Makefile.tpl re PR fortran/46020 (Improve error string for BIND(C) diagnostic for len>1 character return type) 2010-11-26 04:25:32 +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.