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/dce.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/dce.c')
-rw-r--r-- | gcc/dce.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -354,8 +354,8 @@ find_call_stack_args (rtx call_insn, bool do_mark, bool fast, } for (byte = off; byte < off + INTVAL (MEM_SIZE (mem)); byte++) { - gcc_assert (!bitmap_bit_p (sp_bytes, byte - min_sp_off)); - bitmap_set_bit (sp_bytes, byte - min_sp_off); + if (!bitmap_set_bit (sp_bytes, byte - min_sp_off)) + gcc_unreachable (); } } @@ -442,9 +442,8 @@ find_call_stack_args (rtx call_insn, bool do_mark, bool fast, { if (byte < min_sp_off || byte >= max_sp_off - || !bitmap_bit_p (sp_bytes, byte - min_sp_off)) + || !bitmap_clear_bit (sp_bytes, byte - min_sp_off)) break; - bitmap_clear_bit (sp_bytes, byte - min_sp_off); } if (!deletable_insn_p (insn, fast, NULL)) |