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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>:

https://gcc.gnu.org/g:243b5b23c7e60af875f62a63dd6348e63d237243

commit r16-3308-g243b5b23c7e60af875f62a63dd6348e63d237243
Author: Paul Thomas <pa...@gcc.gnu.org>
Date:   Thu Aug 21 07:24:02 2025 +0100

    Fortran: gfortran PDT component access [PR84122, PR85942]

    2025-08-21  Paul Thomas  <pa...@gcc.gnu.org>

    gcc/fortran
            PR fortran/84122
            * parse.cc (parse_derived): PDT type parameters are not allowed
            an explicit access specification and must appear before a
            PRIVATE statement. If a PRIVATE statement is seen, mark all the
            other components as PRIVATE.

            PR fortran/85942
            * simplify.cc (get_kind): Convert a PDT KIND component into a
            specification expression using the default initializer.

    gcc/testsuite/
            PR fortran/84122
            * gfortran.dg/pdt_38.f03: New test.

            PR fortran/85942
            * gfortran.dg/pdt_39.f03: New test.
  • [Bug fortran/85942] ICE with PD... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to