[Bug fortran/102917] [PDT] KIND and LEN type parameters shall not be restricted to default integer

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 27 19:26:55 GMT 2021


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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:

https://gcc.gnu.org/g:5782bacacada41c0240f5aceb42dcdf78e7042da

commit r11-9191-g5782bacacada41c0240f5aceb42dcdf78e7042da
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Tue Oct 26 20:54:41 2021 +0200

    Fortran: do not restrict PDT KIND and LEN type parameters to default
integer

    gcc/fortran/ChangeLog:

            PR fortran/102917
            * decl.c (match_attr_spec): Remove invalid integer kind checks on
            KIND and LEN attributes of PDTs.

    gcc/testsuite/ChangeLog:

            PR fortran/102917
            * gfortran.dg/pdt_4.f03: Adjust testcase.

    (cherry picked from commit cfcb27cfcb1d32b8cf7bc463cc1fc5cacae8d199)


More information about the Gcc-bugs mailing list