https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99043
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:f248468b309eba0608608c4d8bd75fd0f4580416 commit r10-9364-gf248468b309eba0608608c4d8bd75fd0f4580416 Author: Tobias Burnus <tob...@codesourcery.com> Date: Fri Feb 12 14:43:41 2021 +0100 Fortran: Fix rank of assumed-rank array [PR99043] gcc/fortran/ChangeLog: PR fortran/99043 * trans-expr.c (gfc_conv_procedure_call): Don't reset rank of assumed-rank array. gcc/testsuite/ChangeLog: PR fortran/99043 * gfortran.dg/assumed_rank_20.f90: New test. (cherry picked from commit f699e0b16578cdc1be8b90691ef8b0964af32d2f)