This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/48290] FAIL: gcc.dg/vect/pr38529.c, ICE in vect_get_vec_def_for_operand, at tree-vect-stmts.c:1072


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]