https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101951
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Paul Thomas <[email protected]>: https://gcc.gnu.org/g:b207851b2d1b26b3b9ee7b8cfab637ee531acfc1 commit r17-2339-gb207851b2d1b26b3b9ee7b8cfab637ee531acfc1 Author: Paul Thomas <[email protected]> Date: Sun Jul 12 12:27:29 2026 +0100 Fortran: Constraints involving coarray ultimate components [PR101951,PR101967] 2026-07-12 Steve Kargl <[email protected]> gcc/fortran PR fortran/101951 PR fortran/101967 * match.cc (gfc_match_allocate): It is an error if the type-spec derived type or the source expr has a coarray ultimate component. Substitute 'typespec' with 'type-spec' in error messages for consistency with standards. gcc/testsuite/ PR fortran/101951 * gfortran.dg/f2018c937.f90: New test. PR fortran/101967 * gfortran.dg/f2018c949.f90: New test. * gfortran.dg/allocate_alloc_opt_4.f90: Substitute 'typespec' with 'type-spec' in error checks. * gfortran.dg/allocate_derived_1.f90: Ditto.
