qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5915] target-ppc: Fix use of uninitialized TCG variable in tlbiva
@ 2008-12-07 15:45 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2008-12-07 15:45 UTC (permalink / raw)
  To: qemu-devel

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.

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

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

Modified: trunk/target-ppc/translate.c
===================================================================
--- trunk/target-ppc/translate.c	2008-12-07 15:21:23 UTC (rev 5914)
+++ trunk/target-ppc/translate.c	2008-12-07 15:45:15 UTC (rev 5915)
@@ -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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-07 15:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-07 15:45 [Qemu-devel] [5915] target-ppc: Fix use of uninitialized TCG variable in tlbiva Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).