------- 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

Reply via email to