From b2485d6cd597d32862c30d3061c07cc622dd58ca Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Fri, 3 Feb 2023 01:04:38 +0100 Subject: [PATCH] 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 --- tcc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcc.h b/tcc.h index 13cd17e0..83d8c7e4 100644 --- a/tcc.h +++ b/tcc.h @@ -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;