mirror of
https://abf.rosa.ru/djam/python3.11.git
synced 2025-02-23 18:22:52 +00:00
13 lines
452 B
Diff
13 lines
452 B
Diff
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c
|
|
index 230cde4..ccb8fa6 100644
|
|
--- a/Modules/faulthandler.c
|
|
+++ b/Modules/faulthandler.c
|
|
@@ -1152,7 +1152,7 @@
|
|
#if defined(FAULTHANDLER_USE_ALT_STACK)
|
|
#define FAULTHANDLER_STACK_OVERFLOW
|
|
|
|
-static uintptr_t
|
|
+__attribute__((optimize(0))) static uintptr_t
|
|
stack_overflow(uintptr_t min_sp, uintptr_t max_sp, size_t *depth)
|
|
{
|
|
/* Allocate (at least) 4096 bytes on the stack at each call.
|