Fix bitmap bug.

From-SVN: r57919
This commit is contained in:
Anthony Green 2002-10-08 07:19:34 +00:00 committed by Anthony Green
parent 39c9ceac7e
commit 4213a3b69e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-10-08 Anthony Green <green@redhat.com>
* bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
2002-10-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.c (c4x_print_operand): Enlarge buffer

View File

@ -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);