From 315d5735cb1d6b799854208e23ccdb14137f751d Mon Sep 17 00:00:00 2001 From: Nicolas Kruse Date: Tue, 14 Oct 2025 23:15:25 +0200 Subject: [PATCH] changed to: volatile char stack_place_holder[64] --- tools/generate_stencils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/generate_stencils.py b/tools/generate_stencils.py index 458de34..6dbb6e2 100644 --- a/tools/generate_stencils.py +++ b/tools/generate_stencils.py @@ -10,7 +10,7 @@ stencil_func_prefix = '__attribute__((naked)) ' # Remove callee prolog def get_aux_funcs() -> str: return f""" {entry_func_prefix}int entry_function_shell(){{ - void *p = alloca(64); + volatile char stack_place_holder[64]; result_int(0); return 1; }} @@ -124,8 +124,6 @@ if __name__ == "__main__": // Auto-generated stencils for copapy // Do not edit manually - include - volatile int dummy_int = 1337; volatile float dummy_float = 1337; """