[libcxx-commits] [libcxx] [libc++] std::abs support for _BitInt(N) and __int128 (PR #196532)

Xavier Roche via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 16 10:54:40 PDT 2026


================
@@ -68,5 +129,41 @@ int main(int, char**) {
 
   test_big();
 
+#if TEST_STD_VER >= 17
+#  ifdef __BITINT_MAXWIDTH__
+  // MSan does not track _BitInt padding bits; non-byte-aligned widths trigger
+  // false-positive use-of-uninitialized-value reports through numeric_limits.
----------------
xroche wrote:

Created #204212

https://github.com/llvm/llvm-project/pull/196532


More information about the libcxx-commits mailing list