This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Mar 2018 21:42:39 +0000
- Subject: [Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures
- Auto-submitted: auto-generated
- References: <bug-84922-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84922
--- Comment #14 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Mar 22 21:42:07 2018
New Revision: 258784
URL: https://gcc.gnu.org/viewcvs?rev=258784&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/interface_42.f90
trunk/gcc/testsuite/gfortran.dg/interface_43.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/testsuite/ChangeLog