From bd9eb5dacc6e850014842b8f248a1c38c43a15a4 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Sat, 22 May 2010 12:56:53 +0000 Subject: gimple.c (gimple_types_compatible_p): Check type qualifications before merging pointer to complete and pointer to... 2010-05-22 Richard Guenther * 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 --- gcc/lto/ChangeLog | 4 ++++ gcc/lto/lto.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc/lto') 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 + + * lto.c (read_cgraph_and_symbols): Do not collect. + 2010-05-20 Jan Hubicka * 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) -- cgit v1.1