diff options
author | Richard Guenther <rguenther@suse.de> | 2009-05-29 09:49:42 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-05-29 09:49:42 +0000 |
commit | 821bb7f8f9dd6c54fa081b098a60411ca786d6aa (patch) | |
tree | 6c80b189fd0b9250df5581608770c18fb098718b /gcc/tree-ssa-structalias.c | |
parent | e997fb9cde056a19283773504860010e3dede244 (diff) | |
download | gcc-821bb7f8f9dd6c54fa081b098a60411ca786d6aa.zip gcc-821bb7f8f9dd6c54fa081b098a60411ca786d6aa.tar.gz gcc-821bb7f8f9dd6c54fa081b098a60411ca786d6aa.tar.bz2 |
tree-ssa-operands.c (get_expr_operands): Do not handle INDIRECT_REFs in the handled-component case.
2009-05-29 Richard Guenther <rguenther@suse.de>
* tree-ssa-operands.c (get_expr_operands): Do not handle
INDIRECT_REFs in the handled-component case. Remove
unused get_ref_base_and_extent case.
* tree-dfa.c (get_ref_base_and_extent): Avoid calling
tree_low_cst and host_integerp where possible.
* tree-ssa-structalias.c (equiv_class_label_eq): Check hash
codes for equivalence.
* dce.c (find_call_stack_args): Avoid redundant bitmap queries.
From-SVN: r147973
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r-- | gcc/tree-ssa-structalias.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index ea47ec6..827a916 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -1864,7 +1864,8 @@ equiv_class_label_eq (const void *p1, const void *p2) { const_equiv_class_label_t const eql1 = (const_equiv_class_label_t) p1; const_equiv_class_label_t const eql2 = (const_equiv_class_label_t) p2; - return bitmap_equal_p (eql1->labels, eql2->labels); + return (eql1->hashcode == eql2->hashcode + && bitmap_equal_p (eql1->labels, eql2->labels)); } /* Lookup a equivalence class in TABLE by the bitmap of LABELS it |