OSDN Git Service

* lto.c (globalize_cross_file_statics): When function has address taken,
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Apr 2010 14:41:03 +0000 (14:41 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Apr 2010 14:41:03 +0000 (14:41 +0000)
commite288c7a9d241b2ec4f17a2a9b3a058fc30c86725
tree518cccaa543aa060a4a7880a9edcef6b9842add4
parentf855a9b7ef29819b5a8ca64d0cbf4facce909c80
* lto.c (globalize_cross_file_statics): When function has address taken,
it needs to be public.
* varpool.c (decide_is_variable_needed): Variable is always needed
during ltrans.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158609 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/varpool.c