Index: llvm/trunk/include/llvm/ADT/APFloat.h =================================================================== --- llvm/trunk/include/llvm/ADT/APFloat.h +++ llvm/trunk/include/llvm/ADT/APFloat.h @@ -855,7 +855,7 @@ } bool getExactInverse(APFloat *inv) const { - return IEEE.getExactInverse(&inv->IEEE); + return IEEE.getExactInverse(inv ? &inv->IEEE : nullptr); } friend hash_code hash_value(const APFloat &Arg);