qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Chubb <peter.chubb@nicta.com.au>
To: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] [patch] target-microblaze/translate.c fails to compile with gcc 4.7
Date: Thu, 07 Jun 2012 12:30:56 +1000	[thread overview]
Message-ID: <w4zk8fj1jz.wl%peter@chubb.wattle.id.au> (raw)


n current qemu.git, I see:
 CC    microblaze-softmmu/translate.o
/home/peterc/src/work/QEMU/qemu-working/target-microblaze/translate.c: In function ‘dec_store’:
/home/peterc/src/work/QEMU/qemu-working/target-microblaze/translate.c:1108:5: error: invalid initializer

This is the obvious fix:
---
 target-microblaze/translate.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: qemu-working/target-microblaze/translate.c
===================================================================
--- qemu-working.orig/target-microblaze/translate.c	2012-06-07 10:52:56.210980100 +1000
+++ qemu-working/target-microblaze/translate.c	2012-06-07 11:47:19.682479289 +1000
@@ -1105,7 +1105,7 @@ static void gen_store(DisasContext *dc,
 
 static void dec_store(DisasContext *dc)
 {
-    TCGv t, *addr, swx_addr, r_check = 0;
+    TCGv t, *addr, swx_addr, r_check;
     int swx_skip = 0;
     unsigned int size, rev = 0, ex = 0;
 

--
Dr Peter Chubb				        peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au          Software Systems Research Group/NICTA

                 reply	other threads:[~2012-06-07  2:31 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=w4zk8fj1jz.wl%peter@chubb.wattle.id.au \
    --to=peter.chubb@nicta.com.au \
    --cc=edgar.iglesias@gmail.com \
    --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).