aboutsummaryrefslogtreecommitdiff
path: root/lto-plugin
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-06-02 15:23:34 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-06-02 15:23:34 +0000
commit1d40c57546b51b62d177bfaa6ca2a2559646db35 (patch)
treec63c9076c1f07fbf902f350df70be4689c649250 /lto-plugin
parentecd76a8e1127b9752ba7b1c20d9433fa048d1bb2 (diff)
downloadgcc-1d40c57546b51b62d177bfaa6ca2a2559646db35.zip
gcc-1d40c57546b51b62d177bfaa6ca2a2559646db35.tar.gz
gcc-1d40c57546b51b62d177bfaa6ca2a2559646db35.tar.bz2
re PR lto/44385 (ld: ../../lto-plugin/lto-plugin.c:325: write_resolution: Assertion `syms' failed.)
2010-06-02 Richard Guenther <rguenther@suse.de> PR lto/44385 Backport from mainline 2010-05-21 Richard Guenther <rguenther@suse.de> * lto-plugin.c (write_resolution): Do not assert syms is non-NULL. From-SVN: r160157
Diffstat (limited to 'lto-plugin')
-rw-r--r--lto-plugin/ChangeLog8
-rw-r--r--lto-plugin/lto-plugin.c1
2 files changed, 8 insertions, 1 deletions
diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog
index 64f7e0d..6405896 100644
--- a/lto-plugin/ChangeLog
+++ b/lto-plugin/ChangeLog
@@ -1,3 +1,11 @@
+2010-06-02 Richard Guenther <rguenther@suse.de>
+
+ PR lto/44385
+ Backport from mainline
+ 2010-05-21 Richard Guenther <rguenther@suse.de>
+
+ * lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
+
2010-04-14 Release Manager
* GCC 4.5.0 released.
diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c
index 97b7c0f..204cca4 100644
--- a/lto-plugin/lto-plugin.c
+++ b/lto-plugin/lto-plugin.c
@@ -322,7 +322,6 @@ write_resolution (void)
struct ld_plugin_symbol *syms = symtab->syms;
unsigned j;
- assert (syms);
get_symbols (info->handle, symtab->nsyms, syms);
fprintf (f, "%s %d\n", info->name, info->symtab.nsyms);