https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92736
--- Comment #3 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Sun, Dec 01, 2019 at 05:41:21AM +0000, chinoune.mehdi at hotmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92736 > > --- Comment #2 from Chinoune <chinoune.mehdi at hotmail dot com> --- > (In reply to kargl from comment #1) > > Not sure the code is conforming, and don't have time to > > investigate (unless someone is willing to cough up $$). > > > > Workaround 1. Remove "use m1, only : i" in submodule(m2) > > as 'i' is already available from module m2. > > > > Workaround 2. Use Fortran's renaming scheme. Thus, change > > the submodule(m2) to 'Use m1, only : j=>i' > > You introduced a regression and it is your duty to fix it. When it comes to gfortran, I have no duty to you or anyone else. I have neither the time nor now the inclination to look at this bug (unless someone coughs up $$$$ (price just went up ;)).