ipa.c (function_and_variable_visibility): Variables marked as used should not be localized.
* ipa.c (function_and_variable_visibility): Variables marked as used should not be localized. From-SVN: r162215
This commit is contained in:
parent
99fecd47f1
commit
02ee7bea62
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-07-15 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* ipa.c (function_and_variable_visibility): Variables marked as used should
|
||||
not be localized.
|
||||
|
||||
2010-07-15 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* cgraph.c: Include lto-streamer.h
|
||||
|
|
|
@ -786,6 +786,7 @@ function_and_variable_visibility (bool whole_program)
|
|||
/* We can get prevailing decision in other object file.
|
||||
In this case we do not sed used_from_object_file. */
|
||||
|| !vnode->finalized))
|
||||
|| DECL_PRESERVE_P (vnode->decl)
|
||||
|| vnode->used_from_object_file
|
||||
|| pointer_set_contains (aliased_vnodes, vnode)
|
||||
|| lookup_attribute ("externally_visible",
|
||||
|
|
Loading…
Add table
Reference in a new issue