This is the mail archive of the
gcc-patches@gcc.gnu.org
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 <bonzini@gnu.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:
case NOT:
/* Make this fit the case below. */
varop = gen_rtx_XOR (mode, XEXP (varop, 0),
GEN_INT (GET_MODE_MASK (mode)));
Uros.