diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-03-19 21:57:22 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-03-19 21:57:22 +0900 |
commit | bcd0aa896fe84610cef8dc873239738001283538 (patch) | |
tree | 143be4c2fb70e618b1a362bd779e6fff202a91de /encindex.h | |
parent | e7342e76dfd26237c604e42f9a59a1eaa578c94e (diff) | |
download | ruby-bcd0aa896fe84610cef8dc873239738001283538.tar.gz |
Fix -Wclobbered warning from gcc 12
A variable modified in `EXEC_TAG` block should be `volatile`.
```
ractor.c: In function 'ractor_try_yield':
ractor.c:1251:97: warning: argument 'obj' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
1251 | ractor_try_yield(rb_execution_context_t *ec, rb_ractor_t *cr, struct rb_ractor_queue *ts, VALUE obj, VALUE move, bool exc, bool is_will)
| ~~~~~~^~~
```
Diffstat (limited to 'encindex.h')
0 files changed, 0 insertions, 0 deletions