Index: llvm/trunk/lib/Target/AVR/AVRISelLowering.cpp =================================================================== --- llvm/trunk/lib/Target/AVR/AVRISelLowering.cpp +++ llvm/trunk/lib/Target/AVR/AVRISelLowering.cpp @@ -361,7 +361,7 @@ SDValue Callee = DAG.getExternalSymbol(getLibcallName(LC), getPointerTy(DAG.getDataLayout())); - Type *RetTy = (Type *)StructType::get(Ty, Ty, nullptr); + Type *RetTy = (Type *)StructType::get(Ty, Ty); SDLoc dl(Op); TargetLowering::CallLoweringInfo CLI(DAG);