[llvm] [Flang-rt][build] fixes building warnings under gcc: (PR #173955)
liao jun via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 30 19:43:11 PST 2025
================
@@ -159,7 +159,7 @@ template <typename CHAR, bool ADJUSTR>
static RT_API_ATTRS void AdjustLRHelper(Descriptor &result,
const Descriptor &string, const Terminator &terminator) {
int rank{string.rank()};
- SubscriptValue ub[maxRank], stringAt[maxRank];
+ SubscriptValue ub[maxRank]{}, stringAt[maxRank];
----------------
zjlcd wrote:
I can submit the build log to you.
[before-waring-fix.log](https://github.com/user-attachments/files/24389858/before-waring-fix.log)
https://github.com/llvm/llvm-project/pull/173955
More information about the llvm-commits
mailing list