diff options
author | Richard Guenther <rguenther@suse.de> | 2010-12-02 12:24:46 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-12-02 12:24:46 +0000 |
commit | a844a60b40efe94d6437bb5b3410fbc0a74f2000 (patch) | |
tree | 41c04417c105cf620efada0e39df75d95915f041 /libgomp/parallel.c | |
parent | 52bd463c629b5c0c30b6c95c90aa8dc8199fc84e (diff) | |
download | gcc-a844a60b40efe94d6437bb5b3410fbc0a74f2000.zip gcc-a844a60b40efe94d6437bb5b3410fbc0a74f2000.tar.gz gcc-a844a60b40efe94d6437bb5b3410fbc0a74f2000.tar.bz2 |
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
Diffstat (limited to 'libgomp/parallel.c')
0 files changed, 0 insertions, 0 deletions