]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/hppa: Free some temps in do_sub
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 20 Jul 2020 17:35:00 +0000 (10:35 -0700)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 3 Sep 2020 00:06:19 +0000 (19:06 -0500)
commit2f783fb4591fa244447547d226daed643820e2ef
treed9fd696b8515e13406a53ca806e719482af5acad
parentd7fab184e98bc0d482b0203fd3333da972b7ca5f
target/hppa: Free some temps in do_sub

Two temps allocated but not freed.  Do enough subtractions
within a single TB and one can run out of temps entirely.

Fixes: b2167459ae ("target-hppa: Implement basic arithmetic")
Buglink: https://bugs.launchpad.net/qemu/+bug/1880287
Tested-by: Sven Schnelle <svens@stackframe.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200720174039.517902-1-richard.henderson@linaro.org>
(cherry picked from commit 79826f99feb7222b7804058f0b4ace9ee0546361)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/hppa/translate.c