summaryrefslogtreecommitdiff
path: root/gcc/bitmap.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-07-24 21:49:10 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1997-07-24 21:49:10 -0400
commit06f0e8f37cd12355aa5ce4e51024d3477d2970ac (patch)
tree47a7a8cde6e939c8a5ea5b3215e1e98304012c28 /gcc/bitmap.c
parent42976354a68d594935dbadbc3af015302918dcd9 (diff)
downloadgcc-06f0e8f37cd12355aa5ce4e51024d3477d2970ac.tar.gz
(bitmap_operation): Reset CURRENT on deferred deletion.
From-SVN: r14525
Diffstat (limited to 'gcc/bitmap.c')
-rw-r--r--gcc/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/bitmap.c b/gcc/bitmap.c
index 70845c06d10..0dec06ae82a 100644
--- a/gcc/bitmap.c
+++ b/gcc/bitmap.c
@@ -384,7 +384,7 @@ bitmap_operation (to, from1, from2, operation)
if (to == from1 || to == from2)
{
delete_list = to->first;
- to->first = 0;
+ to->first = to->current = 0;
}
else
bitmap_clear (to);