* ipa-visibility.c (localize_node): Also do not localize
LDPR_PREVAILING_DEF_IRONLY_EXP.
From-SVN: r268732
2019-02-09 Jan Hubicka <hubicka@ucw.cz>
+ * ipa-visibility.c (localize_node): Also do not localize
+ LDPR_PREVAILING_DEF_IRONLY_EXP.
+
+2019-02-09 Jan Hubicka <hubicka@ucw.cz>
+
PR lto/87957
* tree.c (fld_simplified_type_name): Use DECL_ASSEMBLER_NAME_SET_P
instead of type_with_linkage.
symbols. In this case we can privatize all hidden symbol but we need
to keep non-hidden exported. */
if (node->same_comdat_group
- && node->resolution == LDPR_PREVAILING_DEF_IRONLY)
+ && (node->resolution == LDPR_PREVAILING_DEF_IRONLY
+ || node->resolution == LDPR_PREVAILING_DEF_IRONLY_EXP))
{
symtab_node *next;
for (next = node->same_comdat_group;