re PR fortran/84922 (fortran reports inconsistency in rank of arguments in interface...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 22 Mar 2018 21:42:07 +0000 (21:42 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 22 Mar 2018 21:42:07 +0000 (21:42 +0000)
commitb74fa12697a7b369368b8792ea8217ba5fcfaf85
treef47abe155e17a6b3a3886a786d592ec08935e987
parent0bf86d4683e42967bc55de1d3b5bc31a713396f1
re PR fortran/84922 (fortran reports inconsistency in rank of arguments in interface and contained procedures)

2018-03-22  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-22  Steven G. Kargl  <kargl@gcc.gnu.org

PR fortran/84922
* gfortran.dg/interface_42.f90: New test.
* gfortran.dg/interface_43.f90: New test.

From-SVN: r258784
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/interface_42.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/interface_43.f90 [new file with mode: 0644]