From: Jan Hubicka Date: Wed, 7 Feb 2018 10:20:03 +0000 (+0100) Subject: * lto.c (register_resolution): Remove forgotten sanity check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=26a823f03b214ce8412c4a255e483cc81c315bb4;p=gcc.git * lto.c (register_resolution): Remove forgotten sanity check. From-SVN: r257442 --- diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 4862ea95592..bed71f3e200 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,7 @@ +2018-01-30 Jan Hubicka + + * lto.c (register_resolution): Remove forgotten sanity check. + 2018-01-30 Jan Hubicka PR lto/81004 diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index 0ac8b1ef491..8c557d31b0a 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -839,7 +839,6 @@ register_resolution (struct lto_file_decl_data *file_data, tree decl, = new hash_map; ld_plugin_symbol_resolution_t &res = file_data->resolution_map->get_or_insert (decl, &existed); - gcc_assert (!existed || res == resolution); if (!existed || resolution == LDPR_PREVAILING_DEF_IRONLY || resolution == LDPR_PREVAILING_DEF