https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124567
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <[email protected]>: https://gcc.gnu.org/g:bbc4d2e15c4e5f0b21873d4f8bdf17cdc718f044 commit r16-8289-gbbc4d2e15c4e5f0b21873d4f8bdf17cdc718f044 Author: Harald Anlauf <[email protected]> Date: Tue Mar 24 22:04:29 2026 +0100 Fortran: fix rank/shape check in interface checking [PR124567] PR fortran/124567 gcc/fortran/ChangeLog: * interface.cc (gfc_check_dummy_characteristics): Split shape check into a separate check for rank and a check for shape, taking into account a corner case where the ambiguity between deferred shape and assumed shape has not been fully resolved at the time of checking. gcc/testsuite/ChangeLog: * gfortran.dg/pr124567.f90: New test. * gfortran.dg/proc_decl_30.f90: Likewise.
