aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.c
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2002-10-08 07:19:34 +0000
committerAnthony Green <green@gcc.gnu.org>2002-10-08 07:19:34 +0000
commit4213a3b69e173f143ef9e2adc83d97088d1b7e53 (patch)
tree2883105bef2a7166a622da0fdcede8d7be4b64ad /gcc/bitmap.c
parent39c9ceac7e9415f00abae91dd348d9ab7df22165 (diff)
downloadgcc-4213a3b69e173f143ef9e2adc83d97088d1b7e53.zip
gcc-4213a3b69e173f143ef9e2adc83d97088d1b7e53.tar.gz
gcc-4213a3b69e173f143ef9e2adc83d97088d1b7e53.tar.bz2
Fix bitmap bug.
From-SVN: r57919
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 e22a524..21378b5 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);