This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rtl-optimization]: Really fix PR 26449, [4.2/4.3 Regression] ICE in loop invariant motion
- From: "Uros Bizjak" <ubizjak at gmail dot com>
- To: "Paolo Bonzini" <bonzini at gnu dot org>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>, "Zdenek Dvorak" <rakdver at kam dot mff dot cuni dot cz>
- Date: Fri, 14 Sep 2007 14:08:13 +0200
- Subject: Re: [PATCH, rtl-optimization]: Really fix PR 26449, [4.2/4.3 Regression] ICE in loop invariant motion
- References: <5787cf470709140434l1134b8a8w66d8bace9966dd69@mail.gmail.com> <46EA77E1.90000@gnu.org>
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
>