diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-01 16:43:32 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2025-04-03 15:57:37 -0700 |
commit | e139bc4b1772575e1f2dcf8e3dbe1df2b684ef1f (patch) | |
tree | 32a1523df79705b0bf8e8d2ef3dec4fe9b3ee962 /rust/qemu-api/src | |
parent | 0adf626718bc0ca9c46550249a76047f8e45da15 (diff) | |
download | qemu-e139bc4b1772575e1f2dcf8e3dbe1df2b684ef1f.zip qemu-e139bc4b1772575e1f2dcf8e3dbe1df2b684ef1f.tar.gz qemu-e139bc4b1772575e1f2dcf8e3dbe1df2b684ef1f.tar.bz2 |
tcg: Allocate TEMP_VAL_MEM frame in temp_load()
Be sure to allocate the temp frame if it wasn't.
In the resolved issues, incomplete dead code elimination left a load
at the top of an unreachable loop. We simply need to allocate the
stack slot to avoid crashing.
Fixes: c896fe29d6c ("TCG code generator")
Reported-by: Michael Tokarev <mjt@tls.msk.ru>
Reported-by: Helge Konetzka <hk@zapateado.de>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2891
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2899
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250401144332.41615-1-philmd@linaro.org>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions