vm.c: add volatile to a variable across setjmp/longjmp

This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-03-27 15:41:16 +09:00
parent c54bf673a9
commit f54ff74f9b
+1 -1
View File
@@ -1392,7 +1392,7 @@ mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc)
};
#endif
mrb_bool exc_catched = FALSE;
volatile mrb_bool exc_catched = FALSE;
RETRY_TRY_BLOCK:
MRB_TRY(&c_jmp) {