From: <sv...@va...> - 2005-07-05 23:54:23
|
Author: sewardj Date: 2005-07-06 00:54:16 +0100 (Wed, 06 Jul 2005) New Revision: 1261 Log: Keep older versions of gcc (3.0.4) happy. Modified: trunk/priv/host-ppc32/isel.c Modified: trunk/priv/host-ppc32/isel.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 --- trunk/priv/host-ppc32/isel.c 2005-07-04 12:16:56 UTC (rev 1260) +++ trunk/priv/host-ppc32/isel.c 2005-07-05 23:54:16 UTC (rev 1261) @@ -2608,6 +2608,7 @@ =20 /* --------- LITERAL --------- */ if (e->tag =3D=3D Iex_Const) { + HReg r_srcHi, r_srcLo; union { UInt u32x2[2]; ULong u64; Double f64; } u; vassert(sizeof(u) =3D=3D 8); vassert(sizeof(u.u64) =3D=3D 8); @@ -2623,8 +2624,8 @@ else vpanic("iselDblExpr(ppc32): const"); =20 - HReg r_srcHi =3D newVRegI(env); - HReg r_srcLo =3D newVRegI(env); + r_srcHi =3D newVRegI(env); + r_srcLo =3D newVRegI(env); addInstr(env, mk_iMOVds_RRI(env, r_srcHi, PPC32RI_Imm(u.u32x2[1]))= ); addInstr(env, mk_iMOVds_RRI(env, r_srcLo, PPC32RI_Imm(u.u32x2[0]))= ); return mk_LoadRRtoFPR( env, r_srcHi, r_srcLo ); |