[Bug tree-optimization/33834] [4.3 Regression] ICE in vect_get_vec_def_for_operand, at tree-vect-transform.c:1829
dorit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Oct 21 07:14:00 GMT 2007
------- Comment #5 from dorit at gcc dot gnu dot org 2007-10-21 07:14 -------
This patch fixes it:
Index: tree-vect-transform.c
===================================================================
*** tree-vect-transform.c (revision 129521)
--- tree-vect-transform.c (working copy)
*************** vectorizable_live_operation (tree stmt,
*** 5870,5875 ****
--- 5870,5878 ----
gcc_assert (STMT_VINFO_LIVE_P (stmt_info));
+ if (STMT_VINFO_RELEVANT_P (stmt_info))
+ return false;
+
if (STMT_VINFO_DEF_TYPE (stmt_info) == vect_reduction_def)
return false;
(but doesn't allow vectorization. I may try a different fix that does allow
vectorization)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33834
More information about the Gcc-bugs
mailing list