From feff6fe6f01acf6e5e5f98c1ac2a32b80bb7da02 Mon Sep 17 00:00:00 2001 From: hubicka Date: Thu, 9 Sep 2004 13:25:20 +0000 Subject: * tree-ssa-loop-ivopts.c (peel_address): Fix abort on VIEW_CONVERT_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87237 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-ssa-loop-ivopts.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/tree-ssa-loop-ivopts.c') 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); -- cgit v1.2.1