aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2011-03-30 18:01:53 -0600
committerJeff Law <law@gcc.gnu.org>2011-03-30 18:01:53 -0600
commitc865e43709303a5bbfe81f2f96a71c3b92bea0e1 (patch)
treea34078da79ba1f5ad0ba109f73374c42574c22ef
parent0b3189e79f87c6d8927a96918b2ee53456df4928 (diff)
downloadgcc-c865e43709303a5bbfe81f2f96a71c3b92bea0e1.zip
gcc-c865e43709303a5bbfe81f2f96a71c3b92bea0e1.tar.gz
gcc-c865e43709303a5bbfe81f2f96a71c3b92bea0e1.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/reload.h2
-rw-r--r--gcc/reload1.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 970e580..9cb926b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2011-03-30 Jeff Law <law@redhat.com>
+
+ * reload1.c (reload): Fix botch in last change.
+
+ * reload.h (struct reload): Fix typo introduced in last change.
+
2011-03-30 Joseph Myers <joseph@codesourcery.com>
* config/arm/arm.opt (mhard-float, msoft-float): Mark
diff --git a/gcc/reload.h b/gcc/reload.h
index baa7548..c571780 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 6dde9a2..100f148 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