tree-ssa-loop-ivopts.c (peel_address): Fix abort on VIEW_CONVERT_EXPR.
authorJan Hubicka <jh@suse.cz>
Thu, 9 Sep 2004 13:25:20 +0000 (15:25 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 9 Sep 2004 13:25:20 +0000 (13:25 +0000)
* tree-ssa-loop-ivopts.c (peel_address): Fix abort on
VIEW_CONVERT_EXPR.

From-SVN: r87237

gcc/ChangeLog
gcc/tree-ssa-loop-ivopts.c

index d54bd875308277ff300a7cfc53c8efbfc7b8bb73..e0243e129a1116955e340baeb8517e76cf1643eb 100644 (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).
index fd0250bf77865d2a752ba5cb9350bc16caa0898d..4ff3e0df617b7c2b40f587f4e22b3bbd2b2126b1 100644 (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);