This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/84922] fortran reports inconsistency in rank of arguments in interface and contained procedures


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]