reload1.c (eliminate_regs, [...]): Fix typo in adjust_address_nv call.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Mon, 29 Apr 2002 21:23:57 +0000 (21:23 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 29 Apr 2002 21:23:57 +0000 (17:23 -0400)
* reload1.c (eliminate_regs, case SUBREG): Fix typo in
adjust_address_nv call.

From-SVN: r52914

gcc/ChangeLog
gcc/reload1.c

index 85e649ff444dc8d4a15001a2c9165b53f5cb7a55..6768d3c9780f9545ec1d771ab9b72483c0642dc1 100644 (file)
@@ -1,3 +1,8 @@
+Mon Apr 29 17:19:10 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * reload1.c (eliminate_regs, case SUBREG): Fix typo in
+       adjust_address_nv call.
+
 2002-04-29  Janis Johnson  <janis187@us.ibm.com>
 
        * doc/install.texi (Testing): Provide additional information, and
index 840b1cbd49762da98c538d0affa32123c51acd57..d67bd1ebfba5af8fe618b2f81089792c334126dd 100644 (file)
@@ -2573,7 +2573,7 @@ eliminate_regs (x, mem_mode, insn)
                   )
                  || x_size == new_size)
              )
-           return adjust_address_nv (x, GET_MODE (x), SUBREG_BYTE (x));
+           return adjust_address_nv (new, GET_MODE (x), SUBREG_BYTE (x));
          else
            return gen_rtx_SUBREG (GET_MODE (x), new, SUBREG_BYTE (x));
        }