Hi Harald, This looks good to me both for mainline and backporting as far back as you wish.
Thanks Paul On Sat, 3 May 2025 at 19:51, Harald Anlauf <anl...@gmx.de> wrote: > Dear all, > > the attached, semi-obvious patch fixes bugging issues with passing of > array subreferences when either an inquiry reference to a complex array > or a substring reference to a character array was involved, and the > array was a component of a derived type. The obvious cause was always > an early termination of the scan of the reference. > > The original PR was about complex issues, but since I was aware of > a similar issue for substrings, I fixed that at the same time. > > Regtested on x86_64-pc-linux-gnu. OK for mainline? > > As this is a hideous wrong-code bug, I'd like to backport > to at least 15-branch, if this is ok. > > Thanks, > Harald > >