Commit 26a823f0 by Jan Hubicka Committed by Jan Hubicka

* lto.c (register_resolution): Remove forgotten sanity check.

From-SVN: r257442
parent e4c73066
2018-01-30 Jan Hubicka <hubicka@ucw.cz>
* lto.c (register_resolution): Remove forgotten sanity check.
2018-01-30 Jan Hubicka <hubicka@ucw.cz>
PR lto/81004
* lto.c: Include builtins.h
(register_resolution): Merge resolutions in case trees was
......
......@@ -839,7 +839,6 @@ register_resolution (struct lto_file_decl_data *file_data, tree decl,
= new hash_map<tree, ld_plugin_symbol_resolution>;
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment