PR lto/47259
* ipa.c (varpool_externally_visible_p): Register variables
are always externally visible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181927
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
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",