This is the mail archive of the gcc-patches@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]

[Patch, fortran] PR78474 - gfortran accepts invalid submodule syntax


Dear All,

This is a rather trivial problem with a similarly trivial fix. The
ChangeLog says it all.

Before anybody asks, the testcase number jumps by two because I am
going through the submodule PRs in reverse order.

Bootstraps and regtests on FC21/x86_64 - OK for trunk and 6-branch?

Paul

2016-11-27  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/78474
    * module.c (gfc_match_submodule): If there is more than one
    colon, it is a syntax error.

2016-11-27  Paul Thomas  <pault@gcc.gnu.org>

    PR fortran/78474
    * gfortran.dg/submodule_22.f08: New test.

Attachment: submit.diff
Description: Text document


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