[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
Sat Mar 28 13:04:51 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94348
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <burnus@gcc.gnu.org>:
https://gcc.gnu.org/g:3fb7f2fbd5f109786922deb5af8fd8dd594a7ba6
commit r10-7443-g3fb7f2fbd5f109786922deb5af8fd8dd594a7ba6
Author: Tobias Burnus <tobias@codesourcery.com>
Date: Sat Mar 28 14:01:57 2020 +0100
[Fortran] Fix result-variable handling of MODULE PROCEDURE (PR94348)
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