From 26a823f03b214ce8412c4a255e483cc81c315bb4 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 7 Feb 2018 11:20:03 +0100 Subject: [PATCH] * lto.c (register_resolution): Remove forgotten sanity check. From-SVN: r257442 --- gcc/lto/ChangeLog | 4 ++++ gcc/lto/lto.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2