summaryrefslogtreecommitdiff
path: root/gcc/bitmap.c
diff options
context:
space:
mode:
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-08 07:19:34 +0000
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-08 07:19:34 +0000
commit85ae753a10bfb6b9f96d799c72f1f795d6ede388 (patch)
tree2883105bef2a7166a622da0fdcede8d7be4b64ad /gcc/bitmap.c
parent8df830e7fc2cda19042d94cc3f92fc7ccb8ff93e (diff)
downloadgcc-85ae753a10bfb6b9f96d799c72f1f795d6ede388.tar.gz
Fix bitmap bug.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57919 138bc75d-0d04-0410-961f-82ee72b054a4
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 e22a524ce17..21378b5c677 100644
--- a/gcc/bitmap.c
+++ b/gcc/bitmap.c
@@ -706,7 +706,7 @@ bitmap_equal_p (a, b)
bitmap_head c;
int ret;
- c.first = c.current = 0;
+ memset (&c, 0, sizeof (c));
ret = ! bitmap_operation (&c, a, b, BITMAP_XOR);
bitmap_clear (&c);