tree-ssa-loop-ivopts.c (peel_address): Fix abort on VIEW_CONVERT_EXPR.

* tree-ssa-loop-ivopts.c (peel_address): Fix abort on
	VIEW_CONVERT_EXPR.

From-SVN: r87237
This commit is contained in:
Jan Hubicka 2004-09-09 15:25:20 +02:00 committed by Jan Hubicka
parent b2d59f6f77
commit 9f7aa952f5
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-09-09 Jan Hubicka <jh@suse.cz>
* tree-ssa-loop-ivopts.c (peel_address): Fix abort on
VIEW_CONVERT_EXPR.
2004-09-09 Nathan Sidwell <nathan@codesourcery.com>
* Makefile.in (gengtype): Use $(BUILD_ERRORS).

View File

@ -2533,6 +2533,9 @@ peel_address (tree addr, unsigned HOST_WIDE_INT *diff)
return TREE_OPERAND (addr, 0);
case VIEW_CONVERT_EXPR:
return TREE_OPERAND (addr, 0);
case ARRAY_REF:
off = TREE_OPERAND (addr, 1);