[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 22 21:42:00 GMT 2018
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
More information about the Gcc-bugs
mailing list