From f3c1ea6c2d7dca7883985820e46ec536e2d7e8cc Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 15 Oct 2016 16:01:16 +0200 Subject: #define __GNUC__ = 2.1 __GNUC__ nowadays as macro seems to mean the "GNU C dialect" rather than the compiler itself. See also http://gcc.gnu.org/ml/gcc/2008-07/msg00026.html This patch will probably cause problems of various kinds but maybe we should try nonetheless. --- tccgen.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tccgen.c') diff --git a/tccgen.c b/tccgen.c index fda0211..2dcfec5 100644 --- a/tccgen.c +++ b/tccgen.c @@ -3104,10 +3104,14 @@ static void parse_attribute(AttributeDef *ad) case TOK_MODE_DI: ad->a.mode = VT_LLONG + 1; break; + case TOK_MODE_QI: + ad->a.mode = VT_BYTE + 1; + break; case TOK_MODE_HI: ad->a.mode = VT_SHORT + 1; break; case TOK_MODE_SI: + case TOK_MODE_word: ad->a.mode = VT_INT + 1; break; default: -- cgit v1.3.1