aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-05-22 12:56:53 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-05-22 12:56:53 +0000
commitbd9eb5dacc6e850014842b8f248a1c38c43a15a4 (patch)
tree75a0267d14937ac168a33af993b2c8c63ed5a1d2 /gcc/lto
parent7c9b8fb912cdbac53aab302ab0e6b1b0831036df (diff)
downloadgcc-bd9eb5dacc6e850014842b8f248a1c38c43a15a4.zip
gcc-bd9eb5dacc6e850014842b8f248a1c38c43a15a4.tar.gz
gcc-bd9eb5dacc6e850014842b8f248a1c38c43a15a4.tar.bz2
gimple.c (gimple_types_compatible_p): Check type qualifications before merging pointer to complete and pointer to...
2010-05-22 Richard Guenther <rguenther@suse.de> * gimple.c (gimple_types_compatible_p): Check type qualifications before merging pointer to complete and pointer to incomplete type. * lto-symtab.c (lto_symtab_resolve_symbols): For commons make sure we use our own resolution algorithm. The gold linker plugin doesn't do the job we want it to do here. lto/ * lto.c (read_cgraph_and_symbols): Do not collect. From-SVN: r159696
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog4
-rw-r--r--gcc/lto/lto.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 492cd61..83cfe3e 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-22 Richard Guenther <rguenther@suse.de>
+
+ * lto.c (read_cgraph_and_symbols): Do not collect.
+
2010-05-20 Jan Hubicka <jh@suse.cz>
* lto.c (promote_var, promote_fn): New functions.
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index 92fa4dd..d1ccc5a 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -1633,7 +1633,8 @@ read_cgraph_and_symbols (unsigned nfiles, const char **fnames)
lto_obj_file_close (current_lto_file);
current_lto_file = NULL;
- ggc_collect ();
+ /* ??? We'd want but can't ggc_collect () here as the type merging
+ code in gimple.c uses hashtables that are not ggc aware. */
}
if (resolution_file_name)