mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
The mode flags may be clobbered by tag jumps
This commit is contained in:
parent
e29d9e9fba
commit
45bad8c7b8
Notes:
git
2022-11-25 06:50:25 +00:00
1 changed files with 1 additions and 1 deletions
2
eval.c
2
eval.c
|
@ -213,7 +213,7 @@ rb_ec_cleanup(rb_execution_context_t *ec, enum ruby_tag_type ex)
|
|||
|
||||
step_1: step++;
|
||||
VALUE err = ec->errinfo;
|
||||
int mode0 = 0, mode1 = 0;
|
||||
volatile int mode0 = 0, mode1 = 0;
|
||||
if (err != save_error && !NIL_P(err)) {
|
||||
mode0 = exiting_split(err, &sysex, &signaled);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue