PR bootstrap/17591
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Sep 2004 08:32:40 +0000 (08:32 +0000)
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Sep 2004 08:32:40 +0000 (08:32 +0000)
commita59824bb9fa450de7be79e73553d726338ed2669
tree9fbca781fd14460ac4104a6cc02b07fbb1a75822
parent4cf22dc69cc5cad4300cb5a39f7e74c76a16919d
PR bootstrap/17591
* tree-ssa-loop-im.c (for_each_index): Call callback for component_refs
with varying offset.
* tree-ssa-loop-ivopts.c (abnormal_ssa_name_p): New function.
(idx_contains_abnormal_ssa_name_p): Scan step and lower bound for
ARRAY_REFS.
(expr_invariant_in_loop_p): New function.
(idx_find_step): Handle step and lower bound for ARRAY_REFs.  Handle
component_ref_field_offset for COMPONENT_REFs.  Do not allow
ALIGN_INDIRECT_REFs and MISALIGNED_INDIRECT_REFs.
(add_address_candidates): Do not handle ALIGN_INDIRECT_REFs and
MISALIGNED_INDIRECT_REFs.
(idx_remove_ssa_names): Handle step and lower bound for ARRAY_REFs.
(rewrite_address_base): Do not handle ALIGN_INDIRECT_REFs and
MISALIGNED_INDIRECT_REFs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88123 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-loop-im.c
gcc/tree-ssa-loop-ivopts.c