[Bug fortran/94348] gfortran 8/9 reject module procedure definition in same module as function interface
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 30 07:25:11 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94348
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Tobias Burnus
<burnus@gcc.gnu.org>:
https://gcc.gnu.org/g:79166bd28d0296a510cc65aa21cd6797eba51144
commit r9-8423-g79166bd28d0296a510cc65aa21cd6797eba51144
Author: Tobias Burnus <tobias@codesourcery.com>
Date: Mon Mar 30 09:23:12 2020 +0200
[Fortran] Fix result-variable handling of MODULE PROCEDURE (PR94348)
Backport from mainline
2020-03-28 Tobias Burnus <tobias@codesourcery.com>
PR fortran/94348
* decl.c (gfc_match_submod_proc): Add result var to the
proc's namespace.
PR fortran/94348
* gfortran.dg/module_procedure_3.f90: New.
More information about the Gcc-bugs
mailing list