mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-20 03:44:19 +08:00
Use unsigned int to count sizes for -bench (YARPgen) (part 2)
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
This commit is contained in:
parent
b2485d6cd5
commit
bdec3c5345
2
libtcc.c
2
libtcc.c
@ -2171,7 +2171,7 @@ PUB_FUNC void tcc_print_stats(TCCState *s1, unsigned total_time)
|
||||
(double)total_time/1000,
|
||||
(unsigned)total_lines*1000/total_time,
|
||||
(double)total_bytes/1000/total_time);
|
||||
fprintf(stderr, "* text %d, data.rw %d, data.ro %d, bss %d bytes\n",
|
||||
fprintf(stderr, "* text %u, data.rw %u, data.ro %u, bss %u bytes\n",
|
||||
s1->total_output[0],
|
||||
s1->total_output[1],
|
||||
s1->total_output[2],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user