On Fri, 18 Aug 2023 15:47:50 -0700 Julian Brown wrote: > This version of the patch scales back the previously-posted version to > merely add a diagnostic for incorrect usage of component accesses with > variably-indexed arrays of structs: the only permitted variant is > where we have multiple indices that are the same, but we could not > prove so at compile time. Rather than silently producing the wrong > result for cases where the indices are in fact different, we error > out (e.g., "map(dtarr(i)%arrptr, dtarr(j)%arrptr(4:8))", for > different i/j). Here's a small followup fix for this one that hopefully addresses the issue discovered by Linaro's automated pre-commit tester (reported to me via Maxim, thanks!). This is probably obvious if the parent patch is OK. Thanks, Julian