tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Don't reference operand 1 of ADDR_EXPRs.

2004-12-19  Dale Johannesen  <dalej@apple.com>

	* tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p):  Don't
	reference operand 1 of ADDR_EXPRs.

From-SVN: r92405
This commit is contained in:
Dale Johannesen 2004-12-20 03:11:52 +00:00 committed by Dale Johannesen
parent 5e2f4cd242
commit 6efa2c7134
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-12-19 Dale Johannesen <dalej@apple.com>
* tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Don't
reference operand 1 of ADDR_EXPRs.
2004-12-19 Mark Mitchell <mark@codesourcery.com>
* defaults.h (ASM_OUTPUT_INTERNAL_LABEL): New macro.

View File

@ -834,7 +834,7 @@ contains_abnormal_ssa_name_p (tree expr)
return false;
if (code == ADDR_EXPR)
return !for_each_index (&TREE_OPERAND (expr, 1),
return !for_each_index (&TREE_OPERAND (expr, 0),
idx_contains_abnormal_ssa_name_p,
NULL);