* [Qemu-devel] [patch] target-microblaze/translate.c fails to compile with gcc 4.7
@ 2012-06-07 2:30 Peter Chubb
0 siblings, 0 replies; only message in thread
From: Peter Chubb @ 2012-06-07 2:30 UTC (permalink / raw)
To: Edgar E. Iglesias; +Cc: qemu-devel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-07 2:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-07 2:30 [Qemu-devel] [patch] target-microblaze/translate.c fails to compile with gcc 4.7 Peter Chubb
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).