From bdc89f9eff4e4c967107c3e88bf0737eb0a03c60 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Fri, 21 May 2010 16:08:28 +0000 Subject: [PATCH] lto-plugin.c (write_resolution): Do not assert syms is non-NULL. 2010-05-21 Richard Guenther * lto-plugin.c (write_resolution): Do not assert syms is non-NULL. From-SVN: r159676 --- lto-plugin/ChangeLog | 4 ++++ lto-plugin/lto-plugin.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog index df771284e673..82d76634130e 100644 --- a/lto-plugin/ChangeLog +++ b/lto-plugin/ChangeLog @@ -1,3 +1,7 @@ +2010-05-21 Richard Guenther + + * lto-plugin.c (write_resolution): Do not assert syms is non-NULL. + 2010-05-07 Richard Guenther * 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 cb785c428a8a..c82f50d97f98 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); -- 2.43.5