]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* ipa-visibility.c (localize_node): Also do not localize
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Feb 2019 21:54:28 +0000 (21:54 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Feb 2019 21:54:28 +0000 (21:54 +0000)
LDPR_PREVAILING_DEF_IRONLY_EXP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268732 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ipa-visibility.c

index 71ad88d3b0b0508aa97d31e0800ad477240861a7..b43a6681584cf6ee47521ba7cc2754537c83903a 100644 (file)
@@ -1,3 +1,8 @@
+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
index 5752e5c50855af840bca685e8cd9fc3dc1b11da8..d9ef8f537359603f42214ae042733afcbe8e59dd 100644 (file)
@@ -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;