Commit 038a39d1 by Richard Guenther Committed by Richard Biener

alias.c (alias_set_subset_of): Handle alias-set zero child properly.

2010-04-15  Richard Guenther  <rguenther@suse.de>

	* alias.c (alias_set_subset_of): Handle alias-set zero
	child properly.

From-SVN: r158380
parent 28907f9a
2010-04-15 Richard Guenther <rguenther@suse.de>
* alias.c (alias_set_subset_of): Handle alias-set zero
child properly.
2010-04-15 Mark Shinwell <shinwell@codesourcery.com> 2010-04-15 Mark Shinwell <shinwell@codesourcery.com>
Julian Brown <julian@codesourcery.com> Julian Brown <julian@codesourcery.com>
......
...@@ -413,7 +413,7 @@ alias_set_subset_of (alias_set_type set1, alias_set_type set2) ...@@ -413,7 +413,7 @@ alias_set_subset_of (alias_set_type set1, alias_set_type set2)
/* Otherwise, check if set1 is a subset of set2. */ /* Otherwise, check if set1 is a subset of set2. */
ase = get_alias_set_entry (set2); ase = get_alias_set_entry (set2);
if (ase != 0 if (ase != 0
&& ((ase->has_zero_child && set1 == 0) && (ase->has_zero_child
|| splay_tree_lookup (ase->children, || splay_tree_lookup (ase->children,
(splay_tree_key) set1))) (splay_tree_key) set1)))
return true; return true;
......
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