mes: Identify 64-bit bug when compiled with MesCC.
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 27 May 2019 19:33:20 +0000 (21:33 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 27 May 2019 19:33:20 +0000 (21:33 +0200)
commita22e5d3accd0846130703c0058a5d39a9990dcbb
tree36aa96942cc9bf2ecf8924ab519240c90bbcd9a8
parent952b92dfecaa6ae11f85d9a4ebe4044498a5f17a
mes: Identify 64-bit bug when compiled with MesCC.

* src/math.c (divide): Add divide-by-zero error.
(modulo): Likewise.
* module/mes/guile.scm (%compiler): New variable.
* module/mescc/M1.scm (mesc?): New variable.
(hex2:immediate8): Use it to avoid divide-by-zero error.
* HACKING (Bugs): Add it.
HACKING
module/mes/guile.scm
module/mescc/M1.scm
src/math.c