mescc: Tinycc support: ((unsigned char*)str)[0].
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 4 Aug 2017 09:34:01 +0000 (11:34 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 4 Aug 2017 09:34:01 +0000 (11:34 +0200)
commit949e3206224ee4f39e3042bd9bc5b1592e2c0c1e
treecde424f4f3b9be298f76941123b39903a03f7364
parent5fadb4cbbf3f099a5dc1194854b8237282849db5
mescc: Tinycc support: ((unsigned char*)str)[0].

* module/language/c99/compiler.mes (expr->accu): Consider size of
  expr array deref.
* stage0/x86.M1 (movzbl_0x32(%ebp),%eax): New define.
* scaffold/tests/7d-cast-char.c: Test it.
make.scm
module/language/c99/compiler.mes
scaffold/tests/7d-cast-char.c [new file with mode: 0644]
stage0/x86.M1