From f8b4f59f8bef4520fcf85d45f2a87b79e9b1b506 Mon Sep 17 00:00:00 2001 From: jiang <30155751@qq.com> Date: Tue, 20 May 2014 14:59:37 +0800 Subject: [PATCH] In the local use of local stack, use a global stack in the global time --- tccgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tccgen.c b/tccgen.c index c0674d67..d286dd47 100644 --- a/tccgen.c +++ b/tccgen.c @@ -3990,7 +3990,7 @@ ST_FUNC void unary(void) #endif ) tcc_warning("implicit declaration of function '%s'", name); - s = external_global_sym(t, &func_old_type, 0); + s = external_sym(t, &func_old_type, 0, NULL); } if ((s->type.t & (VT_STATIC | VT_INLINE | VT_BTYPE)) == (VT_STATIC | VT_INLINE | VT_FUNC)) {