This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/79402] ICE with submodules: module procedure interface defined in parent module
- From: "pault at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Oct 2017 17:55:29 +0000
- Subject: [Bug fortran/79402] ICE with submodules: module procedure interface defined in parent module
- Auto-submitted: auto-generated
- References: <bug-79402-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79402
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Thu Oct 19 17:54:58 2017
New Revision: 253908
URL: https://gcc.gnu.org/viewcvs?rev=253908&root=gcc&view=rev
Log:
2017-10-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/79402
* resolve.c (fixup_unique_dummy): New function.
(gfc_resolve_expr): Call it for dummy variables with a unique
symtree name.
2017-10-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/79402
* gfortran.dg/submodule_23.f90: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/submodule_23.f90
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/resolve.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog