[Bug rtl-optimization/50765] [4.7 Regression] ICE: in expand_insn, at optabs.c:7681 with -ftree-vectorize -fno-tree-dce

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 22 11:24:00 GMT 2011


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-11-22 10:50:08 UTC ---
Created attachment 25879
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25879
gcc47-pr50765-test.patch

Fixed by part of my http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180932
change, in particular vectorizable_type_promotion has been mishandling ncopies
> 1 - vect_create_vectorized_promotion_stmts would always grow vec_oprnd[01]
vectors if multi_step_cvt, but nothing would truncate them and we'd just
replace
the first element in those vectors, so for ncopies 2 (in this case) we have one
extra element in the vectors to promote.

I'll just add the testcase to the testsuite after regtesting it and then close
this.



More information about the Gcc-bugs mailing list