https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96320
--- Comment #20 from Paul Thomas <pault at gcc dot gnu.org> --- (In reply to CVS Commits from comment #19) > The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: > > https://gcc.gnu.org/g:a5baf71b0a5bd79923c095cf81218b8194008f60 > > commit r11-2489-ga5baf71b0a5bd79923c095cf81218b8194008f60 > Author: Paul Thomas <pa...@gcc.gnu.org> > Date: Sun Aug 2 10:57:59 2020 +0100 > > This patch fixes PR96320. See the explanatory comment in the testcase. > > 2020-08-01 Paul Thomas <pa...@gcc.gnu.org> > > gcc/fortran > PR target/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 target/96320 > * gfortran.dg/module_procedure_4.f90 : New test. 'target' has been replaced with 'fortran' in the ChangeLog commit :-) Paul