summaryrefslogtreecommitdiffstats
path: root/gcc/tree-ssa-loop-ivopts.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-09 13:25:20 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-09 13:25:20 +0000
commitfeff6fe6f01acf6e5e5f98c1ac2a32b80bb7da02 (patch)
treebcda7bc5e966cc168debaa26fb494d9b989aefd2 /gcc/tree-ssa-loop-ivopts.c
parente0a4c0c284f901dd69a6e77aeb35c446bbb7bf19 (diff)
downloadppe42-gcc-feff6fe6f01acf6e5e5f98c1ac2a32b80bb7da02.tar.gz
ppe42-gcc-feff6fe6f01acf6e5e5f98c1ac2a32b80bb7da02.zip
* 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
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.c')
-rw-r--r--gcc/tree-ssa-loop-ivopts.c3
1 files changed, 3 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud