diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2022-06-13 14:03:57 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-06-13 15:18:28 +0900 |
commit | 5060c9d852be4b99d773ec1d94e0ec08ac4299b7 (patch) | |
tree | 8213eb7b2e88d77a0b1f8eded3efac08e3c1fcda /template | |
parent | 425a46131a029390cd693242e621f6632c76cc42 (diff) | |
download | ruby-5060c9d852be4b99d773ec1d94e0ec08ac4299b7.tar.gz |
cont.c: prevent a warning of GCC 12.1
... by assigning a dummy value to the allocated stack.
http://rubyci.s3.amazonaws.com/arch/ruby-master/log/20220613T000004Z.log.html.gz
```
cont.c: In function ‘cont_restore_0.constprop’:
cont.c:1489:28: warning: ‘*sp’ may be used uninitialized [-Wmaybe-uninitialized]
1489 | space[0] = *sp;
| ^~~
```
Also it adds some comments about the hack of dummy stack allocation.
Diffstat (limited to 'template')
0 files changed, 0 insertions, 0 deletions