This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/57275] [4.9 Regression] Error in data dependence analysis during gather vectorization
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 May 2013 14:57:50 +0000
- Subject: [Bug tree-optimization/57275] [4.9 Regression] Error in data dependence analysis during gather vectorization
- Auto-submitted: auto-generated
- References: <bug-57275-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57275
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
t.c:11: note: versioning for alias not supported for: can't determine
dependence between b[i_12] and b[_4]
this should cause vectorization to fail ... oops:
Index: tree-vect-data-refs.c
===================================================================
--- tree-vect-data-refs.c (revision 198867)
+++ tree-vect-data-refs.c (working copy)
@@ -269,7 +269,7 @@ vect_analyze_data_ref_dependence (struct
dump_generic_expr (MSG_MISSED_OPTIMIZATION, TDF_SLIM,
DR_REF (drb));
}
- return false;
+ return true;
}
if (dump_enabled_p ())
should fix it.