From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScSV8-0002Ac-BG for qemu-devel@nongnu.org; Wed, 06 Jun 2012 22:31:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScSV6-0005Uo-8P for qemu-devel@nongnu.org; Wed, 06 Jun 2012 22:31:05 -0400 Received: from lemon.ertos.nicta.com.au ([203.143.174.143]:45806 helo=lemon.ken.nicta.com.au) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScSV5-0005Mp-U6 for qemu-devel@nongnu.org; Wed, 06 Jun 2012 22:31:04 -0400 Date: Thu, 07 Jun 2012 12:30:56 +1000 Message-ID: From: Peter Chubb MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [patch] target-microblaze/translate.c fails to compile with gcc 4.7 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Edgar E. Iglesias" Cc: qemu-devel@nongnu.org n current qemu.git, I see: CC microblaze-softmmu/translate.o /home/peterc/src/work/QEMU/qemu-working/target-microblaze/translate.c: In f= unction =E2=80=98dec_store=E2=80=99: /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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- qemu-working.orig/target-microblaze/translate.c 2012-06-07 10:52:56.210= 980100 +1000 +++ qemu-working/target-microblaze/translate.c 2012-06-07 11:47:19.68247928= 9 +1000 @@ -1105,7 +1105,7 @@ static void gen_store(DisasContext *dc, =20 static void dec_store(DisasContext *dc) { - TCGv t, *addr, swx_addr, r_check =3D 0; + TCGv t, *addr, swx_addr, r_check; int swx_skip =3D 0; unsigned int size, rev =3D 0, ex =3D 0; =20 -- Dr Peter Chubb peter.chubb AT nicta.com.au http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA