https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185
--- Comment #41 from Mikael Morin <mikael at gcc dot gnu.org> --- (In reply to Jürgen Reuter from comment #40) > (In reply to Mikael Morin from comment #38) > > (In reply to Jürgen Reuter from comment #37) > > > (In reply to Mikael Morin from comment #36) > > > > Created attachment 61968 [details] > > > > Corrected third fix > > > > > > > > This one works. > > > > > > I checked the first fix. With it on top of your last commit from Monday, > > > July 21, all of our code and test suites works again. I haven't checked > > > the > > > second and third fix yet, though. Should I? > > > > Yes, please, if that's not too much trouble. > > They pass the gfortran testsuite, but sometimes it's not enough. > > > > Thanks for the testcase by the way. > > Ok. I checked all three testcases (first, second, and corrected third) > independently. Each of them fixes the two reproducers attached here, and all > additional problems in the full testsuite of our code are fixed by each of > them. Thanks. I submitted the three patches: https://gcc.gnu.org/pipermail/fortran/2025-July/062597.html