[Bug tree-optimization/59006] [4.9 Regression] internal compiler error: in vect_transform_stmt, at tree-vect-stmts.c:5963

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 19 13:51:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59006

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |congh at gcc dot gnu.org

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
  if (!vect_is_simple_cond (cond_expr, stmt, loop_vinfo, bb_vinfo,
                            &comp_vectype)
      || !comp_vectype)
    return false;

fails during transform.  This is because we moved the invariant load
and thus the vect_def_type changed from vect_internal_def to vect_external_def.

Bah, I knew this is going to be a problem ... the invariant moving should
have been done when vectorizing the stmt, not upfront.  And the moving
should have only moved the vectorized variant.

I'm trying to fix it in another way that is on my TODO list for some time now.



More information about the Gcc-bugs mailing list