Commit ec72e276c5e1805206bef3ba06e13da3d9eb87bf

Authored by aurel32
1 parent 86e840ee

target-ppc: Fix use of uninitialized TCG variable in tlbiva

Silences a warning about possible unitialized use of t0.

Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5915 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 0 deletions
target-ppc/translate.c
... ... @@ -5386,6 +5386,7 @@ GEN_HANDLER(tlbiva, 0x1F, 0x12, 0x18, 0x03FFF801, PPC_TLBIVA)
5386 5386 GEN_EXCP_PRIVOPC(ctx);
5387 5387 return;
5388 5388 }
  5389 + t0 = tcg_temp_new();
5389 5390 gen_addr_reg_index(t0, ctx);
5390 5391 #if defined(TARGET_PPC64)
5391 5392 if (!ctx->sf_mode)
... ...