https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99043
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:f699e0b16578cdc1be8b90691ef8b0964af32d2f commit r11-7209-gf699e0b16578cdc1be8b90691ef8b0964af32d2f 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.