re PR lto/47259 (LTO and global register variable)
2011-12-02 Richard Guenther <rguenther@suse.de> PR lto/47259 * ipa.c (varpool_externally_visible_p): Register variables are always externally visible. From-SVN: r181927
This commit is contained in:
parent
a46cde6807
commit
a296a0109b
@ -1,3 +1,9 @@
|
||||
2011-12-02 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/47259
|
||||
* ipa.c (varpool_externally_visible_p): Register variables
|
||||
are always externally visible.
|
||||
|
||||
2011-12-02 Sameera Deshpande <sameera.deshpande@arm.com>
|
||||
|
||||
* gimple-pretty-print.c (dump_gimple_call): Dereference fn only if
|
||||
|
@ -662,6 +662,8 @@ varpool_externally_visible_p (struct varpool_node *vnode, bool aliased)
|
||||
if (varpool_used_from_object_file_p (vnode))
|
||||
return true;
|
||||
|
||||
if (DECL_HARD_REGISTER (vnode->decl))
|
||||
return true;
|
||||
if (DECL_PRESERVE_P (vnode->decl))
|
||||
return true;
|
||||
if (lookup_attribute ("externally_visible",
|
||||
|
Loading…
Reference in New Issue
Block a user