We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f837f24 commit 18207cdCopy full SHA for 18207cd
py/stackctrl.c
@@ -31,7 +31,10 @@ void mp_stack_ctrl_init(void) {
31
// Force routine to not be inlined. Better guarantee than MP_NOINLINE for -flto.
32
__asm volatile ("");
33
#pragma GCC diagnostic push
34
+ #if __GNUC__ > 12
35
+ // Introduced in GCC 13
36
#pragma GCC diagnostic ignored "-Wdangling-pointer"
37
+ #endif
38
volatile int stack_dummy;
39
MP_STATE_THREAD(stack_top) = (char *)&stack_dummy;
40
#pragma GCC diagnostic pop
0 commit comments