diff options
author | YamaArashi <shadow962@live.com> | 2016-07-26 00:16:26 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-07-26 00:16:26 -0700 |
commit | f3580e4659c20e4f46f180d92f8b8f0211f3d855 (patch) | |
tree | 96dc161fd4e80829cbba75c07429bcc5cbd629b2 /gcc/stmt.c | |
parent | 055f692f630b8d6bee804c8d349d7c71a6b43798 (diff) |
fix some warnings
Diffstat (limited to 'gcc/stmt.c')
-rwxr-xr-x | gcc/stmt.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1182,8 +1182,6 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line) int *inout_opnum = (int *) alloca (noutputs * sizeof (int)); enum machine_mode *inout_mode = (enum machine_mode *) alloca (noutputs * sizeof (enum machine_mode)); - /* The insn we have emitted. */ - rtx insn; /* An ASM with no outputs needs to be treated as volatile, for now. */ if (noutputs == 0) @@ -1534,12 +1532,12 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line) if (noutputs == 1 && nclobbers == 0) { XSTR (body, 1) = TREE_STRING_POINTER (TREE_PURPOSE (outputs)); - insn = emit_insn (gen_rtx_SET (VOIDmode, output_rtx[0], body)); + emit_insn (gen_rtx_SET (VOIDmode, output_rtx[0], body)); } else if (noutputs == 0 && nclobbers == 0) { /* No output operands: put in a raw ASM_OPERANDS rtx. */ - insn = emit_insn (body); + emit_insn (body); } else { @@ -1599,7 +1597,7 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line) = gen_rtx_CLOBBER (VOIDmode, gen_rtx_REG (QImode, j)); } - insn = emit_insn (body); + emit_insn (body); } free_temp_slots (); @@ -2491,7 +2489,6 @@ expand_return (retval) computation of the return value. */ rtx last_insn = 0; register rtx val = 0; - register rtx op0; tree retval_rhs; int cleanups; |