Re: gauche.bitvector bug with somewhat bigger vectors (2^31)

Jens Thiele <[email protected]> Tue, 05 May 2026 15:46:04 +0200
Newsgroups gmane.lisp.scheme.gauche
Message-ID <[email protected]>
Jens Thiele <[email protected]> writes:

> Hi,
>
> looks like there is some overflow in make-bitvector with sizes >= 2^31 ?

looks like bits.c assumes there are less than 2^31 bits (there int is
used everywhere)

especially:
ScmBits *Scm_MakeBits(int numbits)
and
void Scm_BitsFill(ScmBits *bits, int start, int end, int b)