PR middle-end/35136
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Feb 2008 19:07:38 +0000 (19:07 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Feb 2008 19:07:38 +0000 (19:07 +0000)
commit0e41e6378d75dcff762dee5fa036ffa31a773acb
tree179f616f6f526bdb6070315bbfbf22e717f577d5
parentf78fa257b7592de18d982014211769ca7c8924df
PR middle-end/35136
* gimplify.c (force_gimple_operand_bsi): Revert 2008-02-12 change.
(force_gimple_operand): Likewise.
* tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Add new cases
for TARGET_MEM_REF and CONVERT_EXPR/NON_LVALUE_EXPR/NOP_EXPR.
Also recurse on the operand for regular VIEW_CONVERT_EXPRs.
(find_interesting_uses_address): Check addressability and alignment
of the base expression only after substituting bases of IVs into it.

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