mes/scaffold/tests
Jan Nieuwenhuizen dc65de59ce mescc: refactor expr->accu, expr->accu*, fixes nontrivial struct by value assign.
* module/language/c99/compiler.mes: (pke): New function.
  (expr->number): Rename from p-expr->number.  Update callers.
  (decl->info, init-declr->pointer, struct-field): Several pointeryness fixes.
  (expr->accu*, expr->accu): Remove special-casing for foo.bar,
  foo->bar, foo[bar].  Fixes struct by value assign for non-trival
  expressions.
  (accu->ident, ident-address->accu, ident->accu):
  (base->ident-address, ident->base): Remove.
* scaffold/tests/7k-for-each-elem.c (test): Test it.
* scaffold/tests/7c-dynarray.c (test): Test it.
* scaffold/tests/7m-struct-char-array-assign.c: Test it.
* make.scm (add-scaffold-test): Build it.
2017-11-11 13:45:53 +01:00
..
00-exit-0.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
01-return-0.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
02-return-1.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
03-call.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
04-call-0.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
05-call-1.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
06-call-!1.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
7a-struct-char-array.c mescc: Tinycc support: word array assignment. 2017-08-08 10:00:13 +02:00
7b-struct-int-array.c mescc: Tinycc support: ((foo*) p) + n. 2017-07-31 12:19:23 +02:00
7c-dynarray.c mescc: refactor expr->accu, expr->accu*, fixes nontrivial struct by value assign. 2017-11-11 13:45:53 +01:00
7d-cast-char.c mescc: Tinycc support: ((unsigned char*)str)[i]. 2017-08-04 11:40:04 +02:00
7e-struct-array-access.c mescc: Tinycc support: foo[index]->bar for array bar. 2017-08-04 21:45:29 +02:00
7f-struct-pointer-arithmetic.c mescc: Tinycc support: fixes for foo.bar[baz]. 2017-08-05 21:09:19 +02:00
7g-struct-byte-word-field.c mescc: Tinycc support: byte and word struct fields. 2017-08-06 12:27:16 +02:00
7h-struct-assign.c mescc: Tinycc support: struct by value assign. 2017-09-10 16:59:53 +02:00
7i-struct-struct.c mescc: Tinycc support: struct.struct. 2017-08-10 21:36:49 +02:00
7j-strtoull.c mescc: Tinycc support: strtoull. 2017-08-19 10:51:24 +02:00
7k-for-each-elem.c mescc: refactor expr->accu, expr->accu*, fixes nontrivial struct by value assign. 2017-11-11 13:45:53 +01:00
7l-struct-any-size-array.c mescc: Tinycc support: array of struct of any size. 2017-08-27 11:23:45 +02:00
7m-struct-char-array-assign.c mescc: refactor expr->accu, expr->accu*, fixes nontrivial struct by value assign. 2017-11-11 13:45:53 +01:00
10-if-0.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
11-if-1.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
12-if-==.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
13-if-!=.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
14-if-goto.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
15-if-!f.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
16-if-t.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
20-while.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
21-char[].c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
22-while-char[].c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
23-pointer.c mescc: Tinycc support: fix *--p = 'x'. 2017-08-27 16:58:56 +02:00
30-strlen.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
31-eputs.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
32-compare.c mescc: Tinycc support: fix accu value after comparison. 2017-07-29 20:46:16 +02:00
33-and-or.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
34-pre-post.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
35-compare-char.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
36-compare-arithmetic.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
37-compare-assign.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
38-compare-call.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
40-if-else.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
41-?.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
42-goto-label.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
43-for-do-while.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
44-switch.c mescc: Tinycc support: multiple statements in default case. 2017-07-26 11:36:44 +02:00
45-void-call.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
50-assert.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
51-strcmp.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
52-itoa.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
53-strcpy.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
54-argv.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
60-math.c mescc: Tinycc support: ~, ^=. 2017-07-26 11:36:08 +02:00
61-array.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
63-struct-cell.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
64-make-cell.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
65-read.c mescc: Refactor decl. 2017-07-26 11:36:08 +02:00
70-printf.c test: Split-up Mescc scaffold test. 2017-07-09 09:24:07 +02:00
71-struct-array.c mescc: Tinycc support: pointer arithmetic. 2017-07-28 10:40:30 +02:00
72-typedef-struct-def.c mescc: Tinycc support: fix foo[bar]->baz. 2017-07-29 08:37:34 +02:00
73-union.c mescc: Tinycc support: union. 2017-07-26 11:36:08 +02:00
74-multi-line-string.c mescc: Tinycc support: *global =. 2017-07-26 11:36:08 +02:00
75-struct-union.c mescc: Tinycc support: struct.union. 2017-07-26 11:36:08 +02:00
76-pointer-arithmetic.c mescc: Tinycc support: pointer arithmetic with pointer-variable. 2017-08-26 10:16:53 +02:00
77-pointer-assign.c mescc: Tinycc support: foo.bar = foo.baz = bla. 2017-07-28 22:45:32 +02:00
78-union-struct.c mescc: Tinycc support: union.struct. 2017-07-29 22:50:00 +02:00
79-int-array.c mescc: Tinycc support: fixes for foo.bar[baz]. 2017-08-05 21:09:19 +02:00
t.c mescc: Refactor decl. 2017-07-26 11:36:08 +02:00