aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cse.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0b0bf1f..df51bf6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
+
+ * cse.c (cse_insn): Fix dumb thinko in last change.
+
Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
diff --git a/gcc/cse.c b/gcc/cse.c
index 2e89d0e..eab338a 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -7429,7 +7429,7 @@ cse_insn (insn, libcall_insn)
if NEXT_INSN (p) had INSN_DELETED_P set. */
if (GET_CODE (NEXT_INSN (p)) != NOTE
|| NOTE_LINE_NUMBER (NEXT_INSN (p)) == NOTE_INSN_DELETED)
- p = delete_insn (NEXT_INSN (p));
+ p = PREV_INSN (delete_insn (NEXT_INSN (p)));
else
p = NEXT_INSN (p);
}