mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
fbef90a703
see testcase, reduced example of a situation reported by Kyryl Melekhin in https://github.com/kyx0r/neatvi/ . Problem is that setting up the VLA sp-save in a scope that isn't entered at runtime leaves traces of it in outer scopes that then try to restore the stack pointer from uninitialized slots.
6 lines
82 B
Plaintext
6 lines
82 B
Plaintext
default: i = 0
|
|
reached 3
|
|
after do_cmddefault: i = 2
|
|
default: i = 3
|
|
default: i = 4
|