[PATCH] PR fortran/84922 -- Check MODULE prefix is used
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Mar 22 19:32:00 GMT 2018
On Thu, Mar 22, 2018 at 10:22:48AM +0200, Janne Blomqvist wrote:
> On Thu, Mar 22, 2018 at 12:19 AM, Steve Kargl <
> sgk@troutmask.apl.washington.edu> wrote:
>
> > If an interface body includes a MODULE prefix on a subroutine
> > or function, then the prefix must appear on the contained
> > subprogram. This patch does that check, and issues an error
> > message.
> >
> > 2018-03-21 Steven G. Kargl <kargl@gcc.gnu.org>
> >
> > PR fortran/84922
> > * decl.c (get_proc_name): If the MODULE prefix appears in interface
> > body, then it must appear on the contained subroutine or function.
> > While here, fix nearby mis-indented code.
> >
> > 2018-03-21 Steven G. Kargl <kargl@gcc.gnu.org
> >
> > PR fortran/84922
> > * gfortran.dg/interface_42.f90: New test.
> > * gfortran.dg/interface_43.f90: New test.
> > --
> > Steve
> >
>
> In the testcase, please change the "modified by me" comment to specify who
> "me" is.
>
Thank. Just checking to see if people read the patch ;-)
--
Steve
20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4
20161221 https://www.youtube.com/watch?v=IbCHE-hONow
More information about the Fortran
mailing list