diff --git a/lib/Support/APFloat.cpp b/lib/Support/APFloat.cpp index 1e1c5ff9f73..88d158ae13a 100644 --- a/lib/Support/APFloat.cpp +++ b/lib/Support/APFloat.cpp @@ -2199,6 +2199,7 @@ APFloat::convertFromDecimalString(const char *p, roundingMode rounding_mode) partCount++; } while (p <= D.lastSigDigit); + category = fcNormal; fs = roundSignificandWithExponent(decSignificand, partCount, D.exponent, rounding_mode);