From d6d7686b608c4b7cd88877b30579ca2346e5d284 Mon Sep 17 00:00:00 2001 From: grischka Date: Fri, 8 Feb 2013 19:07:11 +0100 Subject: tcc.h: declare CValue.tab[LDOUBLE_SIZE/4] Should fix some warnings wrt. access out of array bounds. tccelf.c: fix "static function unused" warning x86_64-gen.c: fix "ctype.ref uninitialzed" warning and cleanup tcc-win32.txt: remove obsolete limitation notes. --- c67-gen.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'c67-gen.c') diff --git a/c67-gen.c b/c67-gen.c index b79b1bb..b423ba6 100644 --- a/c67-gen.c +++ b/c67-gen.c @@ -92,12 +92,6 @@ enum { #define REG_LRET TREG_C67_A5 /* second word return register (for long long) */ #define REG_FRET TREG_C67_A4 /* float return register */ -#define ALWAYS_ASSERT(x) \ -do {\ - if (!(x))\ - tcc_error("internal compiler error file at %s:%d", __FILE__, __LINE__);\ -} while (0) - /* defined if function parameters must be evaluated in reverse order */ //#define INVERT_FUNC_PARAMS @@ -182,6 +176,12 @@ int TotalBytesPushedOnStack; #undef BOOL #define BOOL int +#define ALWAYS_ASSERT(x) \ +do {\ + if (!(x))\ + tcc_error("internal compiler error file at %s:%d", __FILE__, __LINE__);\ +} while (0) + /******************************************************/ static unsigned long func_sub_sp_offset; static int func_ret_sub; -- cgit v1.3.1