https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115316

--- Comment #6 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:7efccab92abaa2b31dbe92579505d5c820272eac

commit r16-8053-g7efccab92abaa2b31dbe92579505d5c820272eac
Author: Paul Thomas <[email protected]>
Date:   Thu Mar 12 17:50:55 2026 +0000

    Fortran: Add missing deferred type PDT errors in allocate [PR115316]

    2026-03-12  Paul Thomas  <[email protected]>

    gcc/fortran
            PR fortran/115316
            * match.cc (spec_list_type): A version of gfc_spec_list_type,
            which returns true if any of the LEN parameters are deferred.
            (gfc_match_allocate): Use it to set saw_deferred if any of the
            parameters of the allocate object are deferred.

    gcc/testsuite/
            PR fortran/115316
            * gfortran.dg/pdt_87.f03: New test.

Reply via email to