[Bug tree-optimization/36119] [4.4 regression] internal compiler error: in vectorizable_assignment, at tree-vect-transform.c:3671
irar at il dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Sun May 4 11:22:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list