------- Comment #4 from irar at il dot ibm dot com  2008-05-04 11:21 -------
If it is really a try to SLP, I think this patch will fix the ICE:

Index: tree-vect-transform.c
===================================================================
--- tree-vect-transform.c       (revision 134926)
+++ tree-vect-transform.c       (working copy)
@@ -3668,6 +3668,11 @@ vectorizable_assignment (tree stmt, bloc
   VEC(tree,heap) *vec_oprnds = NULL;
   tree vop;

+  /* FORNOW: SLP with multiple types is not supported. The SLP analysis
verifies
+     this, so we can safely override NCOPIES with 1 here.  */
+  if (slp_node)
+    ncopies = 1;
+
   gcc_assert (ncopies >= 1);
   if (ncopies > 1)
     return false; /* FORNOW */


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36119

Reply via email to