[libc-commits] [libc] [libc] Fix buildbot failure for bigint (PR #207534)

via libc-commits libc-commits at lists.llvm.org
Sat Jul 4 13:28:21 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Zorojuro (Sukumarsawant)

<details>
<summary>Changes</summary>

Fixes the buildbot failure in https://github.com/llvm/llvm-project/pull/206277 by adding the missing initialization

---
Full diff: https://github.com/llvm/llvm-project/pull/207534.diff


1 Files Affected:

- (modified) libc/src/__support/frac128.h (+1-1) 


``````````diff
diff --git a/libc/src/__support/frac128.h b/libc/src/__support/frac128.h
index 037efd46f3837..298d1d9a61d70 100644
--- a/libc/src/__support/frac128.h
+++ b/libc/src/__support/frac128.h
@@ -18,7 +18,7 @@ struct Frac128 : public UInt<128> {
   using UInt<128>::UInt;
 
   LIBC_INLINE constexpr Frac128 operator~() const {
-    Frac128 r;
+    Frac128 r{};
     r.val[0] = ~val[0];
     r.val[1] = ~val[1];
     return r;

``````````

</details>


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


More information about the libc-commits mailing list