summaryrefslogtreecommitdiffstats
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-15 15:30:17 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-15 15:30:17 +0000
commita5b373b8c1e3ad6ff13078ccbf6199431354b1cf (patch)
tree454d21a2b0a79b5cb9667c4f8a08811215447cce /gcc/alias.c
parent93bda8332e7f5defb88fe06be06d29e8ebc73dbb (diff)
downloadppe42-gcc-a5b373b8c1e3ad6ff13078ccbf6199431354b1cf.tar.gz
ppe42-gcc-a5b373b8c1e3ad6ff13078ccbf6199431354b1cf.zip
2010-04-15 Richard Guenther <rguenther@suse.de>
* alias.c (alias_set_subset_of): Handle alias-set zero child properly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158380 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.c')
-rw-r--r--gcc/alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/alias.c b/gcc/alias.c
index c10b971e3df..4be708561ef 100644
--- a/gcc/alias.c
+++ b/gcc/alias.c
@@ -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. */
ase = get_alias_set_entry (set2);
if (ase != 0
- && ((ase->has_zero_child && set1 == 0)
+ && (ase->has_zero_child
|| splay_tree_lookup (ase->children,
(splay_tree_key) set1)))
return true;
OpenPOWER on IntegriCloud