------- Comment #6 from rguenth at gcc dot gnu dot org  2010-06-13 11:35 -------
(In reply to comment #5)
> The bug is in creation of a neutral value for BIT_AND_EXPR. What is the 
> correct
> way to create it for all types? I found 
> double-int.h:#define ALL_ONES (~((unsigned HOST_WIDE_INT) 0))
> but it won't work for signed.

  build_int_cst (type, -1)

At least in tree-vect-slp.c:1669 this seems to be buggy.  The
case for BIT_AND_EXPR should be separated from that of MULT_EXPR.

> Thanks,
> Ira
> 


-- 


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

Reply via email to