Use unsigned int to count sizes for -bench (YARPgen)

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:
Detlef Riekenberg 2023-02-03 01:04:38 +01:00
parent 4dc7662a07
commit b2485d6cd5

2
tcc.h
View File

@ -1005,7 +1005,7 @@ struct TCCState {
int total_idents;
int total_lines;
int total_bytes;
int total_output[4];
unsigned int total_output[4];
/* option -dnum (for general development purposes) */
int g_debug;