Fix bitmap bug.
From-SVN: r57919
This commit is contained in:
parent
39c9ceac7e
commit
4213a3b69e
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
2002-10-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
|
||||||
|
|
||||||
* config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
|
* config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
|
||||||
|
|
|
@ -706,7 +706,7 @@ bitmap_equal_p (a, b)
|
||||||
bitmap_head c;
|
bitmap_head c;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
c.first = c.current = 0;
|
memset (&c, 0, sizeof (c));
|
||||||
ret = ! bitmap_operation (&c, a, b, BITMAP_XOR);
|
ret = ! bitmap_operation (&c, a, b, BITMAP_XOR);
|
||||||
bitmap_clear (&c);
|
bitmap_clear (&c);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue