This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/36119] [4.4 regression] internal compiler error: in vectorizable_assignment, at tree-vect-transform.c:3671
- From: "irar at il dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 May 2008 11:21:22 -0000
- Subject: [Bug tree-optimization/36119] [4.4 regression] internal compiler error: in vectorizable_assignment, at tree-vect-transform.c:3671
- References: <bug-36119-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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