* lto.c (register_resolution): Remove forgotten sanity check.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 7 Feb 2018 10:20:03 +0000 (11:20 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 7 Feb 2018 10:20:03 +0000 (10:20 +0000)
From-SVN: r257442

gcc/lto/ChangeLog
gcc/lto/lto.c

index 4862ea95592c609a04de37675cbf8bfb981058cd..bed71f3e2007b256b2901f84387d3aef1c0126f2 100644 (file)
@@ -1,3 +1,7 @@
+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
index 0ac8b1ef4911cff6a0b036ffdfdde9658d513e09..8c557d31b0a5ec7c9d95f4a11c66bec551c20e37 100644 (file)
@@ -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