re PR c++/69953 (Using lto causes gtkmm/gparted and gtkmm/inkscape compile to fail)
authorJan Hubicka <hubicka@ucw.cz>
Thu, 13 Apr 2017 08:04:52 +0000 (10:04 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 13 Apr 2017 08:04:52 +0000 (08:04 +0000)
commitfb81a61b15689be318482bdecb8bbbb2017523ed
tree2694a0cced121412469ebccb812aa5b72e3da568
parent8da3e6995ee3bd5bd2a6966ffceb356ea4768097
re PR c++/69953 (Using lto causes gtkmm/gparted and gtkmm/inkscape compile to fail)

PR lto/69953
* ipa-visibility.c (non_local_p): Fix typos.
(localize_node): When localizing symbol in same comdat group,
dissolve the group only when we know external symbols are going
to be privatized.
(function_and_variable_visibility): Do not localize DECL_EXTERNAL.

From-SVN: r246899
gcc/ChangeLog
gcc/ipa-visibility.c