fixed null access was not correctly reported with gcc
@@ -1519,10 +1519,13 @@ static int prepare_call_args( jit_ctx *ctx, int count, int *args, vreg *vregs, i
return paddedSize;
}
-#ifdef HL_VCC
// prevent remove of push ebp which would prevent our stack from being correctly reported
+#ifdef HL_VCC
# pragma optimize( "", off )
#endif
+#ifdef HL_GCC
+__attribute__((optimize("-O0")))
+#endif
static void hl_null_access() {
hl_error_msg(USTR("Null access"));
