This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/49265] Double colon in procedure-stmt (generic interface)
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 2 Jun 2011 19:53:10 +0000
- Subject: [Bug fortran/49265] Double colon in procedure-stmt (generic interface)
- Auto-submitted: auto-generated
- References: <bug-49265-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49265
--- Comment #3 from kargl at gcc dot gnu.org 2011-06-02 19:53:05 UTC ---
Author: kargl
Date: Thu Jun 2 19:53:02 2011
New Revision: 174576
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174576
Log:
2011-06-02 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/49265
* decl.c (gfc_match_modproc): Allow for a double colon in a module
procedure statement.
* parse.c ( decode_statement): Deal with whitespace around :: in
gfc_match_modproc.
2011-06-02 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/49265
* gfortran.dg/module_procedure_double_colon_1.f90: New test.
* gfortran.dg/module_procedure_double_colon_2.f90: New test.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/module_procedure_double_colon_1.f90
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/module_procedure_double_colon_2.f90
Modified:
branches/gcc-4_6-branch/gcc/fortran/ChangeLog
branches/gcc-4_6-branch/gcc/fortran/decl.c
branches/gcc-4_6-branch/gcc/fortran/parse.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog