From: Jan Hubicka Date: Sat, 9 Feb 2019 21:54:28 +0000 (+0100) Subject: ipa-visibility.c (localize_node): Also do not localize LDPR_PREVAILING_DEF_IRONLY_EXP. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5873f613cdce33f06ea8779dd3fc1b787cde4141;p=gcc.git ipa-visibility.c (localize_node): Also do not localize LDPR_PREVAILING_DEF_IRONLY_EXP. * ipa-visibility.c (localize_node): Also do not localize LDPR_PREVAILING_DEF_IRONLY_EXP. From-SVN: r268732 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 71ad88d3b0b..b43a6681584 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-02-09 Jan Hubicka + + * ipa-visibility.c (localize_node): Also do not localize + LDPR_PREVAILING_DEF_IRONLY_EXP. + 2019-02-09 Jan Hubicka PR lto/87957 diff --git a/gcc/ipa-visibility.c b/gcc/ipa-visibility.c index 5752e5c5085..d9ef8f53735 100644 --- a/gcc/ipa-visibility.c +++ b/gcc/ipa-visibility.c @@ -539,7 +539,8 @@ localize_node (bool whole_program, symtab_node *node) 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;