[PATCH] PR fortran/84922 -- Check MODULE prefix is used
Janne Blomqvist
blomqvist.janne@gmail.com
Thu Mar 22 08:22:00 GMT 2018
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.
Otherwise Ok.
--
Janne Blomqvist
More information about the Fortran
mailing list