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.

Reply via email to