[gambit-list] integer->char bootstrap problem: git head goes into infinite loop

Marc Feeley feeley at iro.umontreal.ca
Thu Jan 30 00:10:53 EST 2014


On Jan 29, 2014, at 10:40 PM, Bradley Lucier <lucier at math.purdue.edu> wrote:

> Marc:
> 
> This code:
> 
> (define-prim (##integer->char x))
> 
> relies on ##integer->char being inlined by the compiler.
> 
> Well, if you just update to git head, it isn't, so running gsi or gsc gives an infinite loop (that can't be killed with ^C, you need to ^Z it and then "kill -9" it).
> 
> I guess it's time for a new point release.
> 
> Brad

Ah the joys of a bootstrapped compiler…

You can fix this (temporarily) with

(define-prim (##integer->char x) (##fx->char x))

Marc




More information about the Gambit-list mailing list