This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH, rtl-optimization]: Fix PR rtl-optimization/33846, ICE in trunc_int_for_mode, at explow.c:55
On 10/22/07, Paolo Bonzini <firstname.lastname@example.org> wrote:
> Eric Botcazou wrote:
> >> The combiner creates:
> >> (set (reg:V4SI 106)
> >> (ashiftrt:V4SI (xor:V4SI (reg:V4SI 102)
> >> (const_int -1 [0xffffffff]))
> >> (const_int 31 [0x1f])))
> > (xor:V4SI (reg:V4SI 102)
> > (const_int -1 [0xffffffff]))
> > doesn't make much sense, we should have a CONST_VECTOR instead.
> Yes, where is that bogus XOR created instead?
A couple of lines above (line 9345 in combine.c), where we have:
/* Make this fit the case below. */
varop = gen_rtx_XOR (mode, XEXP (varop, 0),
GEN_INT (GET_MODE_MASK (mode)));