aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/reload1.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cbf514b..2c2a869 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-29 Geoffrey Keating <geoffk@redhat.com>
+
+ * reload1.c (move2add_note_store): Correct typo checking for
+ argument pushes.
+
2001-08-29 Andrew MacLeod <amacleod@redhat.com>
* gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
diff --git a/gcc/reload1.c b/gcc/reload1.c
index 8370840..bf66c00 100644
--- a/gcc/reload1.c
+++ b/gcc/reload1.c
@@ -9300,7 +9300,7 @@ move2add_note_store (dst, set, data)
if (GET_CODE (dst) == MEM)
{
dst = XEXP (dst, 0);
- if (GET_CODE (dst) == PRE_INC || GET_CODE (dst) == POST_DEC
+ if (GET_CODE (dst) == PRE_INC || GET_CODE (dst) == POST_INC
|| GET_CODE (dst) == PRE_DEC || GET_CODE (dst) == POST_DEC)
reg_set_luid[REGNO (XEXP (dst, 0))] = 0;
return;