diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-09 13:25:20 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-09 13:25:20 +0000 |
commit | feff6fe6f01acf6e5e5f98c1ac2a32b80bb7da02 (patch) | |
tree | bcda7bc5e966cc168debaa26fb494d9b989aefd2 /gcc/tree-ssa-loop-ivopts.c | |
parent | e0a4c0c284f901dd69a6e77aeb35c446bbb7bf19 (diff) | |
download | ppe42-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.c | 3 |
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); |