2011-07-21 Rong Xu <xur@google.com>
commit4fee2db435917e180665040158b422cdf3ed5c16
authorxur <xur@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jul 2011 21:45:23 +0000 (21 21:45 +0000)
committerxur <xur@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jul 2011 21:45:23 +0000 (21 21:45 +0000)
tree3cf0df6842122e37d3c59635dc00c25947542e76
parent07816cd7f78581ee171336ee47f871f8434b2550
2011-07-21   Rong Xu  <xur@google.com>

        * ipa.c (function_and_variable_visibility): In LIPO mode, call
        varpool_externally_visible_p() to set the externally visible
        attribute even for varpool nodes that not marked as needed.
        * l-ipo.c (varpool_do_link): Merge the externally visible
        attribute for varpool nodes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google@176592 138bc75d-0d04-0410-961f-82ee72b054a4
main/gcc/ChangeLog.google-main
main/gcc/ipa.c
main/gcc/l-ipo.c