This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rtl-optimization]: Really fix PR 26449, [4.2/4.3 Regression] ICE in loop invariant motion


On 9/14/07, Paolo Bonzini <bonzini@gnu.org> wrote:

> > @@ -6266,11 +6267,14 @@
> >         return expand_simple_binop (GET_MODE (value), code, op1, op2,
> >                                     target, 0, OPTAB_LIB_WIDEN);
> >       default:
> > -       return expand_simple_binop (GET_MODE (value), code, op1, op2,
> > -                                   target, 1, OPTAB_LIB_WIDEN);
> > +       if (have_insn_for (code, GET_MODE (value)))
> > +         return expand_simple_binop (GET_MODE (value), code, op1, op2,
> > +                                     target, 1, OPTAB_LIB_WIDEN);
> > +       else
> > +         simplify_rtx (value);
> >       }
>
> Something weird in the last "+" line.

Oh, sorry - just remove last two "+" lines. I was experimenting
something during the regression test.

Uros.
>
> Paolo
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]