projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39c9cea
)
Fix bitmap bug.
author
Anthony Green
<green@redhat.com>
Tue, 8 Oct 2002 07:19:34 +0000
(07:19 +0000)
committer
Anthony Green
<green@gcc.gnu.org>
Tue, 8 Oct 2002 07:19:34 +0000
(07:19 +0000)
From-SVN: r57919
gcc/ChangeLog
patch
|
blob
|
history
gcc/bitmap.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index a1d5e5530155342f07b7ec2a64a850db2bcd5d16..92ffc991bf5eb5b5a72c8a35a724b2cf520585cf 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-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
diff --git
a/gcc/bitmap.c
b/gcc/bitmap.c
index e22a524ce17fee65597d782f613e00b89f6d3e73..21378b5c677fe9e8ed8431b248e3827d42e08f1b 100644
(file)
--- 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);