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

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

https://gcc.gnu.org/g:22031c5868bbb434b51ea4010ccae0cf8c890d6b

commit r10-11240-g22031c5868bbb434b51ea4010ccae0cf8c890d6b
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Feb 21 22:06:33 2023 +0100

    Fortran: reject invalid CHARACTER length of derived type components
[PR96024]

    gcc/fortran/ChangeLog:

            PR fortran/96024
            * resolve.c (resolve_component): The type of a CHARACTER length
            expression must be INTEGER.

    gcc/testsuite/ChangeLog:

            PR fortran/96024
            * gfortran.dg/pr96024.f90: New test.

    (cherry picked from commit 31303c9b5bab200754cdb7ef8cd91ae4918f3018)

Reply via email to