jyu2 added a comment. In D145093#4164528 <https://reviews.llvm.org/D145093#4164528>, @ABataev wrote:
> What result produces `map(a[0][:3]`? Yes, that would be another way to fix the runtime problem. However the difficulty is when process array section, section base is different. with a[0][:3] the section base is a[0] with (*a)[:3], the section base is (*a); It is hard to set a[0] as section base during processing the array section. That is why I am adding dereference pointer not a[0]. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D145093/new/ https://reviews.llvm.org/D145093 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits