commit | 79b1af906245558c30e0a5faf26cb52b63f83cce | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Tue Apr 25 10:38:52 2017 |
committer | Richard Henderson <rth@twiddle.net> | Wed Apr 26 17:26:11 2017 |
tree | da5692f687e2caa9ccbebe2c176a635243f47f5e | |
parent | 51b9d495f2a99c65c9e524c8f6fe283ebfabae1d [diff] |
tcg: Initialize return value after exit_atomic Users of tcg_gen_atomic_cmpxchg and do_atomic_op rightfully utilize the output. Even though this code is dead, it gets translated, and without the initialization we encounter a tcg_error. Reported-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> Tested-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> Tested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>