(eliminate_regs, case INSN_LIST): Properly remake list when we change
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 3 Feb 1994 12:44:52 +0000 (07:44 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 3 Feb 1994 12:44:52 +0000 (07:44 -0500)
something further on.

From-SVN: r6475

gcc/reload1.c

index 542c9d7..2becabf 100644 (file)
@@ -1,5 +1,5 @@
 /* Reload pseudo regs into hard regs for insns that require hard regs.
-   Copyright (C) 1987, 1988, 1989, 1992, 1993 Free Software Foundation, Inc.
+   Copyright (C) 1987, 88, 89, 92, 93, 1994 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -2819,7 +2819,7 @@ eliminate_regs (x, mem_mode, insn)
        {
          new = eliminate_regs (XEXP (x, 1), mem_mode, insn);
          if (new != XEXP (x, 1))
-           return gen_rtx (INSN_LIST, GET_MODE (x), XEXP (x, 0), new);
+           return gen_rtx (GET_CODE (x), GET_MODE (x), XEXP (x, 0), new);
        }
       return x;