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

From-SVN: r52912

gcc/ChangeLog
gcc/reload1.c

index 8a3321c9d53103d629bf4b6c1d61c6375b2d386c..7e0b570eb8fa0b3ce7ef8285cb0ec3e9b9eb85a0 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));
        }