[Bug fortran/96320] gfortran 8-10 shape mismatch in assumed-length dummy argument character array
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 4 14:42:35 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96320
--- Comment #26 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Paul Thomas <pault@gcc.gnu.org>:
https://gcc.gnu.org/g:101873f243237de4d868af95b89120a48cf86f6e
commit r9-9149-g101873f243237de4d868af95b89120a48cf86f6e
Author: Paul Thomas <pault@gcc.gnu.org>
Date: Mon Jan 4 14:42:10 2021 +0000
This patch fixes PR96320. See the explanatory comment in the testcase.
2021-01-04 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/96320
* interface.c (gfc_check_dummy_characteristics): If a module
procedure arrives with assumed shape in the interface and
deferred shape in the procedure itself, update the latter and
copy the lower bounds.
gcc/testsuite/
PR fortran/96320
* gfortran.dg/module_procedure_4.f90 : New test.
More information about the Gcc-bugs
mailing list