Skip to contentSkip to conversation

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

Qemu-devel Aurelien Jarno 1 participant 1 message Dec 7, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5915

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5915
Author:   aurel32
Date:     2008-12-07 15:45:15 +0000 (Sun, 07 Dec 2008)

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

Silences a warning about possible unitialized use of t0.

Modified Paths:
--------------
trunk/target-ppc/translate.c

Modified: trunk/target-ppc/translate.c
===================================================================

target-ppc/translate.c +1 -0
@@ -5386,6 +5386,7 @@
         GEN_EXCP_PRIVOPC(ctx);
         return;
     }
+    t0 = tcg_temp_new();
     gen_addr_reg_index(t0, ctx);
 #if defined(TARGET_PPC64)
     if (!ctx->sf_mode)