On Mon, Nov 25, 2024 at 10:05:49PM +0000, Harald Anlauf wrote: > Dear all, > > the attached patch fixes an ICE when passing an inquiry reference of a complex > array to an assumed-rank dummy argument by terminating the search for the > array reference before we hit the inquiry reference. (The array reference > is needed for a possible descriptor update w.r.t. bounds.) > > Regtested on x86_64-pc-linux-gnu. OK for mainline? >
Looks good to me. > What about backporting to 14-branch? If you have the time and energy, I see no reason not to fix it on 14. Thanks for expanding the testcase to include array sections. -- Steve