qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [5915] target-ppc: Fix use of uninitialized TCG variable in tlbiva
Date: Sun, 07 Dec 2008 15:45:16 +0000	[thread overview]
Message-ID: <E1L9Loq-0007DL-58@cvs.savannah.gnu.org> (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.

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)

                 reply	other threads:[~2008-12-07 15:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1L9Loq-0007DL-58@cvs.savannah.gnu.org \
    --to=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).