From: Jan Hubicka Date: Thu, 9 Sep 2004 13:25:20 +0000 (+0200) Subject: tree-ssa-loop-ivopts.c (peel_address): Fix abort on VIEW_CONVERT_EXPR. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f7aa952f59931da5ab6bd784723d05134adac97;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d54bd875308..e0243e129a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-09-09 Jan Hubicka + + * tree-ssa-loop-ivopts.c (peel_address): Fix abort on + VIEW_CONVERT_EXPR. + 2004-09-09 Nathan Sidwell * Makefile.in (gengtype): Use $(BUILD_ERRORS). diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index fd0250bf778..4ff3e0df617 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -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);