[Bug fortran/68534] No error on mismatch in number of arguments between submodule and module interface

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 30 13:34:00 GMT 2015


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


More information about the Gcc-bugs mailing list