An allocation is made for a temporary register, however it is unneeded, 
as actually explained in the comment preceding the conditional block in 
question, and consequently never used, so remove it.  The `temp' rtx is 
already used elsewhere in the function, which is possibly why this dead 
assignment has not been warned about.

        gcc/
        * config/vax/vax.c (vax_expand_addsub_di_operands): Remove 
        unused register allocation.
---
 gcc/config/vax/vax.c |    1 -
 1 file changed, 1 deletion(-)

Index: gcc/gcc/config/vax/vax.c
===================================================================
--- gcc.orig/gcc/config/vax/vax.c
+++ gcc/gcc/config/vax/vax.c
@@ -2082,7 +2082,6 @@ vax_expand_addsub_di_operands (rtx * ope
        {
          if (code == MINUS && CONSTANT_P (operands[1]))
            {
-             temp = gen_reg_rtx (DImode);
              emit_insn (gen_sbcdi3 (operands[0], const0_rtx, operands[2]));
              code = PLUS;
              gen_insn = gen_adcdi3;

Reply via email to