PR ipa/68881
commit9b0e5d40d0f720031aa3e449020fffa22597e3c6
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Apr 2016 09:26:29 +0000 (4 09:26 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Apr 2016 09:26:29 +0000 (4 09:26 +0000)
tree046b846b874b04d1165f5b13e3c53c3879ea4558
parentaeb3c6bcca32aee8ea551ab74b2110d885622349
PR ipa/68881
* cgraph.h (symtab_node::copy_visibility_from): New function.
* symtab.c (symtab_node::copy_visibility_from): New function.
* ipa-visibility.c (optimize_weakref): New function.
(function_and_variable_visibility): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234708 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.h
gcc/ipa-visibility.c
gcc/symtab.c