Hi,
trying to merge recent sanitizer library into GCC, I've run to the issue: looksLikeFloatCastOverflowDataV1 heuristic failed to work if one of the types is unknown (GCC's _Decimal32 was my case, AFAIK UBSan doesn't support decimal floating types). I see, this is a GCC - specific issue, but since we just make heuristic more precise... . I wonder if it's possible to change heuristic in a such way to support both LLVM and GCC.
Another approach would be to add new entry function (say, __ubsan_handle_float_cast_overflow_old), but I'm not sure what approach is more desirable here.
Thanks.
Minor nit: s/probably/most likely/