From 671f597de24517b9323c48e8664964974642f930 Mon Sep 17 00:00:00 2001 From: Guille Polito Date: Wed, 16 Jan 2019 11:09:12 +0000 Subject: [PATCH] Patch callback thunkEntry to not optimize, failing in win32 using gcc 7.4.0 --- platforms/Cross/plugins/IA32ABI/ia32abicc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/Cross/plugins/IA32ABI/ia32abicc.c b/platforms/Cross/plugins/IA32ABI/ia32abicc.c index ffca0ce0e9..9297f5716c 100644 --- a/platforms/Cross/plugins/IA32ABI/ia32abicc.c +++ b/platforms/Cross/plugins/IA32ABI/ia32abicc.c @@ -169,7 +169,7 @@ getMostRecentCallbackContext() { return mostRecentCallbackContext; } * args would get copied into a struct on the stack. A pointer to the struct * is then passed as an element of the VMCallbackContext. */ -long +long __attribute__((optimize("O0"))) thunkEntry(void *thunkp, sqIntptr_t *stackp) { VMCallbackContext vmcc;