From: Jeff Law Date: Thu, 31 Mar 2011 00:01:53 +0000 (-0600) Subject: reload1.c (reload): Fix botch in last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c865e43709303a5bbfe81f2f96a71c3b92bea0e1;p=gcc.git reload1.c (reload): Fix botch in last change. * reload1.c (reload): Fix botch in last change. * reload.h (struct reload): Fix typo introduced in last change. From-SVN: r171759 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 970e5806824..9cb926b7b17 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-03-30 Jeff Law + + * reload1.c (reload): Fix botch in last change. + + * reload.h (struct reload): Fix typo introduced in last change. + 2011-03-30 Joseph Myers * config/arm/arm.opt (mhard-float, msoft-float): Mark diff --git a/gcc/reload.h b/gcc/reload.h index baa75482d78..c57178045e9 100644 --- a/gcc/reload.h +++ b/gcc/reload.h @@ -100,7 +100,7 @@ struct reload int inc; /* A reg for which reload_in is the equivalent. If reload_in is a symbol_ref which came from - reg_equiv_consant, then this is the pseudo + reg_equiv_constant, then this is the pseudo which has that symbol_ref as equivalent. */ rtx in_reg; rtx out_reg; diff --git a/gcc/reload1.c b/gcc/reload1.c index 6dde9a2f90f..100f14800c8 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -895,7 +895,7 @@ reload (rtx first, int global) && (REGNO (XEXP (XEXP (x, 0), 0)) < FIRST_PSEUDO_REGISTER) && CONSTANT_P (XEXP (XEXP (x, 0), 1)))) - reg_equiv_mem (i) = XEXP (x, 0), reg_equiv_mem (i) = 0; + reg_equiv_address (i) = XEXP (x, 0), reg_equiv_mem (i) = 0; else { /* Make a new stack slot. Then indicate that something