From a2ff290c023adcda10f3dec64397812c907c4f48 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 29 Apr 2002 21:23:57 +0000 Subject: [PATCH] reload1.c (eliminate_regs, [...]): Fix typo in adjust_address_nv call. * reload1.c (eliminate_regs, case SUBREG): Fix typo in adjust_address_nv call. From-SVN: r52914 --- gcc/ChangeLog | 5 +++++ gcc/reload1.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 85e649ff444..6768d3c9780 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Apr 29 17:19:10 2002 Richard Kenner + + * reload1.c (eliminate_regs, case SUBREG): Fix typo in + adjust_address_nv call. + 2002-04-29 Janis Johnson * doc/install.texi (Testing): Provide additional information, and diff --git a/gcc/reload1.c b/gcc/reload1.c index 840b1cbd497..d67bd1ebfba 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -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)); } -- 2.30.2