In this macro

#define mkChar(c)    ((Cell)(CHARMIN+((unsigned)((c)%NUM_CHARS))))

surely one wants to cast c to unsigned before doing the mod?
Otherwise, if c is signed and < 0, mkChar(c) < CHARMIN.
STGhugs can't compile real/veritas in the nofib suite with this
defn.  The following version does seem to work, tho:

#define mkChar(c)    ((Cell)(CHARMIN+(((unsigned)(c))%NUM_CHARS)))

J

Reply via email to