Skip to content
Snippets Groups Projects
Commit 928bc34f authored by Eric Botcazou's avatar Eric Botcazou Committed by Eric Botcazou
Browse files

re PR middle-end/35136 (ICE caused by address calculation with loop variable...

re PR middle-end/35136 (ICE caused by address calculation with loop variable when optimization is on)

	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.

From-SVN: r132320
parent 4bcf935d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment