summaryrefslogtreecommitdiff
path: root/lto-plugin
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-21 16:08:28 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-21 16:08:28 +0000
commita8b6351694e817433e38a4d4c2e0faf81f0cb6b8 (patch)
tree5865c2c4727bc11c4c47c72d3ff9d31b7f84fb89 /lto-plugin
parent76dccead9cfef7ae2b6ef7d3c29b8490098b0ab4 (diff)
downloadgcc-a8b6351694e817433e38a4d4c2e0faf81f0cb6b8.tar.gz
2010-05-21 Richard Guenther <rguenther@suse.de>
* lto-plugin.c (write_resolution): Do not assert syms is non-NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159676 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'lto-plugin')
-rw-r--r--lto-plugin/ChangeLog4
-rw-r--r--lto-plugin/lto-plugin.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog
index df771284e67..82d76634130 100644
--- a/lto-plugin/ChangeLog
+++ b/lto-plugin/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-21 Richard Guenther <rguenther@suse.de>
+
+ * lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
+
2010-05-07 Richard Guenther <rguenther@suse.de>
* lto-plugin.c (free_2): Do not free resolution_file.
diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c
index cb785c428a8..c82f50d97f9 100644
--- a/lto-plugin/lto-plugin.c
+++ b/lto-plugin/lto-plugin.c
@@ -317,7 +317,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);