-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.8.2 testsuite segfault on armv6 #87
Comments
some printf debugging: diff --git a/lib/bitset/array.c b/lib/bitset/array.c
index 43d4c1e..69d5ecf 100644
--- a/lib/bitset/array.c
+++ b/lib/bitset/array.c
@@ -65,8 +65,10 @@ abitset_small_list (bitset src, bitset_bindex *list,
bitset_bindex count = 0;
/* Is there enough room to avoid checking in each iteration? */
if (num >= BITSET_WORD_BITS) {
- BITSET_FOR_EACH_BIT (pos, word)
+ BITSET_FOR_EACH_BIT (pos, word) {
+ fprintf(stderr, "DEBUG: num=%d, BITSET_WORD_BITS=%d, count=%d, sizeof(count)=%d, pos=%d, word=%d\n", num, BITSET_WORD_BITS, count, sizeof(count), pos, word);
list[count++] = bitno + pos;
+ }
} else
BITSET_FOR_EACH_BIT (pos, word) Gives:
I guess |
ok this seems to be a bug in gcc. It fails with |
Hi, Cheers! |
when updating bison package on alpine linux to 3.8.2 we run into a segfault on armv6.
Here is a backtrace:
The text was updated successfully, but these errors were encountered: