aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1996-07-22 16:32:36 -0700
committerJim Wilson <wilson@gcc.gnu.org>1996-07-22 16:32:36 -0700
commit845fc87500e000788b5af93d5fc73ddb520a1fc8 (patch)
tree1e8b1786f345f05c8ec0dd5a9501abec193c0870
parent56b3408df261966f5c2ce01171f471cf298d21ac (diff)
downloadgcc-845fc87500e000788b5af93d5fc73ddb520a1fc8.zip
gcc-845fc87500e000788b5af93d5fc73ddb520a1fc8.tar.gz
gcc-845fc87500e000788b5af93d5fc73ddb520a1fc8.tar.bz2
(undo_all): Clear previous_undos field.
From-SVN: r12544
-rw-r--r--gcc/combine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index b83f020..03b8644 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -2429,7 +2429,7 @@ undo_all ()
}
obfree (undobuf.storage);
- undobuf.undos = 0;
+ undobuf.undos = undobuf.previous_undos = 0;
/* Clear this here, so that subsequent get_last_value calls are not
affected. */