This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48290] FAIL: gcc.dg/vect/pr38529.c, ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1072
- From: "irar at il dot ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Mar 2011 07:04:15 +0000
- Subject: [Bug tree-optimization/48290] FAIL: gcc.dg/vect/pr38529.c, ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1072
- Auto-submitted: auto-generated
- References: <bug-48290-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48290
--- Comment #6 from Ira Rosen <irar at il dot ibm.com> 2011-03-29 07:04:08 UTC ---
(In reply to comment #5)
> The patch in comment #3 fixes the ICE, but the test still fails:
>
> FAIL: gcc.dg/vect/pr38529.c scan-tree-dump-times vect "OUTER LOOP VECTORIZED" 1
>
This is expected, because the patch only prevents vectorization of unexpected
phis. As Richard wrote, copyprop will have to be fixed to propagate the zero.
After that the loop will get vectorized again.