PATCH: Remove a local unused variable in x86 backend

Richard Guenther richard.guenther@gmail.com
Tue May 1 21:48:00 GMT 2007


On 5/1/07, H. J. Lu <hjl@lucon.org> wrote:
> ix86_expand_sse_comi has an unused variable, op2, This patch removes
> it.

Ok if that was boostrapped & tested.

Thanks,
Richard.

>
> H.J.
> ----
> 2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>
>
>         * config/i386/i386.c (ix86_expand_sse_comi): Remove unused
>         variable.
>
> --- gcc/config/i386/i386.c.unused       2007-05-01 09:08:15.000000000 -0700
> +++ gcc/config/i386/i386.c      2007-05-01 14:38:49.000000000 -0700
> @@ -18247,7 +18247,6 @@ ix86_expand_sse_comi (const struct built
>    tree arg1 = CALL_EXPR_ARG (exp, 1);
>    rtx op0 = expand_normal (arg0);
>    rtx op1 = expand_normal (arg1);
> -  rtx op2;
>    enum machine_mode mode0 = insn_data[d->icode].operand[0].mode;
>    enum machine_mode mode1 = insn_data[d->icode].operand[1].mode;
>    enum rtx_code comparison = d->comparison;
> @@ -18277,7 +18276,6 @@ ix86_expand_sse_comi (const struct built
>        || !(*insn_data[d->icode].operand[1].predicate) (op1, mode1))
>      op1 = copy_to_mode_reg (mode1, op1);
>
> -  op2 = gen_rtx_fmt_ee (comparison, mode0, op0, op1);
>    pat = GEN_FCN (d->icode) (op0, op1);
>    if (! pat)
>      return 0;
>



More information about the Gcc-patches mailing list