PR middle-end/49596
* cgraph.h (varpool_all_refs_explicit_p): Not analyzed nodes
may have unknown refs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175753
138bc75d-0d04-0410-961f-
82ee72b054a4
+2011-07-01 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/49596
+ * cgraph.h (varpool_all_refs_explicit_p): Not analyzed nodes
+ may have unknown refs.
+
2011-07-01 Kai Tietz <ktietz@redhat.com>
* tree-ssa-forwprop.c (simplify_bitwise_binary): Fix typo.
static inline bool
varpool_all_refs_explicit_p (struct varpool_node *vnode)
{
- return (!vnode->externally_visible
+ return (vnode->analyzed
+ && !vnode->externally_visible
&& !vnode->used_from_other_partition
&& !vnode->force_output);
}