diff --git a/lib/Target/PowerPC/PPC32ISelPattern.cpp b/lib/Target/PowerPC/PPC32ISelPattern.cpp index fcd8f438f10..d408db38ca2 100644 --- a/lib/Target/PowerPC/PPC32ISelPattern.cpp +++ b/lib/Target/PowerPC/PPC32ISelPattern.cpp @@ -729,6 +729,8 @@ unsigned ISel::SelectExpr(SDOperand N) { if (sext && byte) { Tmp3 = Result; Result = MakeReg(MVT::i32); + } else { + Tmp3 = 0; // Silence GCC warning. } if(Address.getOpcode() == ISD::FrameIndex) { BuildMI(BB, Opc, 2, Result)