Commit e8fdf1cd by Richard Guenther Committed by Richard Biener

re PR middle-end/49596 (FAIL: gcc.dg/torture/pr43879_1.c)

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
parent 80d3dd38
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> 2011-07-01 Kai Tietz <ktietz@redhat.com>
* tree-ssa-forwprop.c (simplify_bitwise_binary): Fix typo. * tree-ssa-forwprop.c (simplify_bitwise_binary): Fix typo.
......
...@@ -947,7 +947,8 @@ varpool_can_remove_if_no_refs (struct varpool_node *node) ...@@ -947,7 +947,8 @@ varpool_can_remove_if_no_refs (struct varpool_node *node)
static inline bool static inline bool
varpool_all_refs_explicit_p (struct varpool_node *vnode) 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->used_from_other_partition
&& !vnode->force_output); && !vnode->force_output);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment