]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
lto-plugin.c (write_resolution): Do not assert syms is non-NULL.
authorRichard Guenther <rguenther@suse.de>
Fri, 21 May 2010 16:08:28 +0000 (16:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 21 May 2010 16:08:28 +0000 (16:08 +0000)
2010-05-21  Richard Guenther  <rguenther@suse.de>

* lto-plugin.c (write_resolution): Do not assert syms is non-NULL.

From-SVN: r159676

lto-plugin/ChangeLog
lto-plugin/lto-plugin.c

index df771284e67342ed838cc019b8594a39714f55aa..82d76634130e3eed14b22401d2a121a1e5a7926b 100644 (file)
@@ -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.
index cb785c428a8a491a20323df48d9f742eef54f01f..c82f50d97f9807db8fd82635f064d7d70841831b 100644 (file)
@@ -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);