(undo_all): Clear previous_undos field.
authorJim Wilson <wilson@gcc.gnu.org>
Mon, 22 Jul 1996 23:32:36 +0000 (16:32 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 22 Jul 1996 23:32:36 +0000 (16:32 -0700)
From-SVN: r12544

gcc/combine.c

index b83f020a98ba5b1feb8e6791b8bcdb40f2205a09..03b86449355bb61becebb939dc227d7e7d9ef242 100644 (file)
@@ -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.  */