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.
From-SVN: r175753
+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);
}