diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2020-08-02 10:57:59 +0100 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2020-08-02 10:57:59 +0100 |
commit | a5baf71b0a5bd79923c095cf81218b8194008f60 (patch) | |
tree | b93da317db4de0f951a9c88c99087c8ec9da8301 /gcc/tree.c | |
parent | 6912619fce0dafde2269960c4704e8f88c61b8f3 (diff) | |
download | gcc-a5baf71b0a5bd79923c095cf81218b8194008f60.zip gcc-a5baf71b0a5bd79923c095cf81218b8194008f60.tar.gz gcc-a5baf71b0a5bd79923c095cf81218b8194008f60.tar.bz2 |
This patch fixes PR96320. See the explanatory comment in the testcase.
2020-08-01 Paul Thomas <pault@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.
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions