This bug doesn't seem to affect anything currently, but does interfere with miscellaneous tccpp.c fixes for the test cases described here: http://lists.nongnu.org/archive/html/tinycc-devel/2015-05/msg00002.html
Unified · Split
| @@ -3120,6 +3120,7 @@ static void macro_subst(TokenString *tok_str, Sym **nested_list, · 3119 unmodified lines | ||
| 3120 | 3120 | macro_ptr = (int *)ptr; |
| 3121 | 3121 | tok = t; |
| 3122 | 3122 | ret = macro_subst_tok(tok_str, nested_list, s, can_read_stream); |
| 3123 | + spc = tok_str->len && is_space(tok_str->str[tok_str->len-1]); | |
| 3123 | 3124 | ptr = (int *)macro_ptr; |
| 3124 | 3125 | macro_ptr = ml.p; |
| 3125 | 3126 | if (can_read_stream && *can_read_stream == &ml) |