[libc-commits] [libc] [libc] Make BigInt trivially constructible (PR #206277)

Krishna Pandey via libc-commits libc-commits at lists.llvm.org
Thu Jul 2 08:55:35 PDT 2026


================
@@ -358,15 +358,16 @@ struct BigInt {
 
   LIBC_INLINE_VAR static constexpr size_t WORD_COUNT = Bits / WORD_SIZE;
 
-  cpp::array<WordType, WORD_COUNT> val{}; // zero initialized.
+  cpp::array<WordType, WORD_COUNT> val; // zero initialized.
----------------
krishna2803 wrote:

```suggestion
  cpp::array<WordType, WORD_COUNT> val;
```

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


More information about the libc-commits mailing list