https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88624
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andre Vehreschild <ve...@gcc.gnu.org>: https://gcc.gnu.org/g:9d8888650e97cb76e4ea3b5d060e4a4cef38fc58 commit r15-2193-g9d8888650e97cb76e4ea3b5d060e4a4cef38fc58 Author: Andre Vehreschild <ve...@gcc.gnu.org> Date: Thu Jul 11 10:07:12 2024 +0200 Fix Rejects allocatable coarray passed as a dummy argument [88624] Coarray parameters of procedures/functions need to be dereffed, because they are references to the descriptor but the routine expected the descriptor directly. PR fortran/88624 gcc/fortran/ChangeLog: * trans-expr.cc (gfc_conv_procedure_call): Treat pointers/references (e.g. from parameters) correctly by derefing them. gcc/testsuite/ChangeLog: * gfortran.dg/coarray/dummy_1.f90: Add calling function trough function. * gfortran.dg/pr88624.f90: New test.