I have a testfile created by YARPGen (seed=9), which displayed a negative bss size without this patch. * tcc needs also a bigger VSTACK_SIZE (i used 512) -- bye bye ... Detlef
Unified · Split
| @@ -2171,7 +2171,7 @@ PUB_FUNC void tcc_print_stats(TCCState *s1, unsigned total_time) · 2170 unmodified lines | ||
| 2171 | 2171 | (double)total_time/1000, |
| 2172 | 2172 | (unsigned)total_lines*1000/total_time, |
| 2173 | 2173 | (double)total_bytes/1000/total_time); |
| 2174 | − fprintf(stderr, "* text %d, data.rw %d, data.ro %d, bss %d bytes\n", | |
| 2174 | + fprintf(stderr, "* text %u, data.rw %u, data.ro %u, bss %u bytes\n", | |
| 2175 | 2175 | s1->total_output[0], |
| 2176 | 2176 | s1->total_output[1], |
| 2177 | 2177 | s1->total_output[2], |