[gambit-list] enable-char-size=1
Bradley Lucier
lucier at math.purdue.edu
Fri Apr 6 20:25:24 EDT 2007
On Apr 6, 2007, at 2:02 AM, TJ wrote:
>
> If I configure with --enable-char-size=1, I get the following error
> during `make check`. Happens in beta 20 and the new 22.
It's a problem with the test suite, not with the compiler/interpreter.
mix.scm expects the following code to error with "Heap Overflow":
(err (make-string (quotient max-size-in-bytes-plus-1 2)))
where
(define max-fixnum ##max-fixnum)
(define max-fixnum-plus-1
(let ()
(##declare (safe) (generic))
(+ max-fixnum 1)))
(define max-size-in-bytes-plus-1
(let ()
(##declare (safe) (generic))
(quotient max-fixnum-plus-1 32)))
It does if char-size is 4, but not when it's 1.
Brad
More information about the Gambit-list
mailing list