https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119948
--- Comment #7 from kargls at comcast dot net --- On 4/28/25 07:30, pault at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119948 > > --- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> --- > (In reply to Paul Thomas from comment #5) >> Created attachment 61214 [details] >> Yet another fix for this PR >> >> I don't quite know whose patch is purer. This one also regtests OK. >> >> I will think about it while doing some gardening :-) >> >> Paul > > Any thoughts, Steve and Jerry? IMHO my patch addresses the specific problem > directly and is unlikely to cause any regressions. Just my 10p's worth. > My patch touches primary.cc(match_variable) and resolve.cc(gfc_impure_variable). You only touch the latter. If that's sufficient to compile both testcases I have in my patch, then yours appears to be better.