https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44265
--- Comment #11 from Paul Thomas <pault at gcc dot gnu.org> --- (In reply to Ian Harvey from comment #10) > The patch discussed in #5 applies changes to the wrong location in > trans-decl.c. Corrected patch attached. > > With this latest patch I see no variation in check-fortran test results. Dear Ian, I was looking to make the same change. I'll apply your patch this afternoon and will check that it deals with the corner cases. Cheers Paul