From: Julian Seward Date: Tue, 5 Jul 2005 23:54:16 +0000 (+0000) Subject: Keep older versions of gcc (3.0.4) happy. X-Git-Tag: svn/VALGRIND_3_0_1^2~73 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5877f65ae22eac7b7bacf7aa3bf32b73d75a4c76;p=thirdparty%2Fvalgrind.git Keep older versions of gcc (3.0.4) happy. git-svn-id: svn://svn.valgrind.org/vex/trunk@1261 --- diff --git a/VEX/priv/host-ppc32/isel.c b/VEX/priv/host-ppc32/isel.c index 3b89ca41de..709fbf5aa2 100644 --- a/VEX/priv/host-ppc32/isel.c +++ b/VEX/priv/host-ppc32/isel.c @@ -2608,6 +2608,7 @@ static HReg iselDblExpr_wrk ( ISelEnv* env, IRExpr* e ) /* --------- LITERAL --------- */ if (e->tag == Iex_Const) { + HReg r_srcHi, r_srcLo; union { UInt u32x2[2]; ULong u64; Double f64; } u; vassert(sizeof(u) == 8); vassert(sizeof(u.u64) == 8); @@ -2623,8 +2624,8 @@ static HReg iselDblExpr_wrk ( ISelEnv* env, IRExpr* e ) else vpanic("iselDblExpr(ppc32): const"); - HReg r_srcHi = newVRegI(env); - HReg r_srcLo = newVRegI(env); + r_srcHi = newVRegI(env); + r_srcLo = 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 );