fixes issue with emitting partially initialized constant arrays larger than 2^32.
issue #57353 on github.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Sema/SemaInit.cpp | ||
---|---|---|
866 | setElementIndex(...) takes unsigned as well and therefore InitializedEntity also uses unsigned. I briefly looked at this with another bug https://github.com/llvm/llvm-project/issues/57317 and I believe the 32 bit assumption is made in a lot of this code in this area. |
Comment Actions
Clang, increase upper bound of partially initialized array sizes
fixes issue with emitting partially initialized constant arrays larger than 2^32.
issue #57353 on github.
setElementIndex(...) takes unsigned as well and therefore InitializedEntity also uses unsigned.
I briefly looked at this with another bug https://github.com/llvm/llvm-project/issues/57317
and I believe the 32 bit assumption is made in a lot of this code in this area.