(eliminate_regs_in_insn): Fix typo in last change.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 4 Aug 1993 23:12:26 +0000 (19:12 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 4 Aug 1993 23:12:26 +0000 (19:12 -0400)
From-SVN: r5071

gcc/reload1.c

index 6d872ec..32c4b11 100644 (file)
@@ -3242,7 +3242,7 @@ eliminate_regs_in_insn (insn, replace)
      to a register that we eliminate and could cause a different number
      of spill registers to be needed in the final reload pass than in
      the pre-passes.  */
-  if (val)
+  if (val && REG_NOTES (insn) != 0)
     REG_NOTES (insn) = eliminate_regs (REG_NOTES (insn), 0, NULL_RTX);
 
   if (! replace)