[libc-commits] [libc] 5ec0eee - [libc] Fix buildbot failure for bigint (#207534)
via libc-commits
libc-commits at lists.llvm.org
Sun Jul 5 00:01:45 PDT 2026
Author: Zorojuro
Date: 2026-07-05T12:31:41+05:30
New Revision: 5ec0eee3a67ec0f8aebccc6864c574ce73e2f937
URL: https://github.com/llvm/llvm-project/commit/5ec0eee3a67ec0f8aebccc6864c574ce73e2f937
DIFF: https://github.com/llvm/llvm-project/commit/5ec0eee3a67ec0f8aebccc6864c574ce73e2f937.diff
LOG: [libc] Fix buildbot failure for bigint (#207534)
Fixes the buildbot failure in
https://github.com/llvm/llvm-project/pull/206277 by adding the missing
initialization
Added:
Modified:
libc/src/__support/frac128.h
Removed:
################################################################################
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;
More information about the libc-commits
mailing list