Index: clang/lib/Sema/SemaExpr.cpp =================================================================== --- clang/lib/Sema/SemaExpr.cpp +++ clang/lib/Sema/SemaExpr.cpp @@ -3778,7 +3778,8 @@ // fract type with a value of exactly 1; such a constant shall denote // the maximal value for the type. --Val; - else if (Val.ugt(MaxVal) || Overflowed) + + if (Val.ugt(MaxVal) || Overflowed) Diag(Tok.getLocation(), diag::err_too_large_for_fixed_point); Res = FixedPointLiteral::CreateFromRawInt(Context, Val, Ty,