https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94397
--- Comment #8 from markeggleston at gcc dot gnu.org --- (In reply to anlauf from comment #7) > (In reply to markeggleston from comment #6) > > Thanks Steve. Should've tried your patch earlier, it is much simpler than > > mine and I've verified that it works. There was a nagging feeling that my > > solution was incomplete. I'm happy to add test cases to your patch and send > > it upstream for approval. > Any progress? Unfortunately I was diverted on to working on something else and when I got back to it I found that two test case failures occurred: pr93484_1.f90 and pr93484_2.f90 both failing with ICE. These did not occur when I last checked the patch. Thanks for the nudge, I intend to fully investigate today.