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/68534] No error on mismatch in number of arguments between submodule and module interface


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68534

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Mon Nov 30 13:33:27 2015
New Revision: 231072

URL: https://gcc.gnu.org/viewcvs?rev=231072&root=gcc&view=rev
Log:
2015-11-30  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/68534
        * decl.c (gfc_match_formal_arglist): Cope with zero formal args
        either in interface declaration or in procedure declaration in
        submodule.

2015-11-30  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/68534
        * gfortran.dg/submodule_13.f08: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/submodule_13.f08
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]