This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Remove a local unused variable in x86 backend
- From: "H. J. Lu" <hjl at lucon dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 1 May 2007 14:44:57 -0700
- Subject: PATCH: Remove a local unused variable in x86 backend
ix86_expand_sse_comi has an unused variable, op2, This patch removes
it.
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;