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

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

https://gcc.gnu.org/g:6c1b825b3d6499dfeacf7c79dcf4b56a393ac204

commit r13-6265-g6c1b825b3d6499dfeacf7c79dcf4b56a393ac204
Author: Harald Anlauf <anl...@gmx.de>
Date:   Mon Feb 20 21:28:09 2023 +0100

    Fortran: improve checking of character length specification [PR96025]

    gcc/fortran/ChangeLog:

            PR fortran/96025
            * parse.cc (check_function_result_typed): Improve type check of
            specification expression for character length and return status.
            (parse_spec): Use status from above.
            * resolve.cc (resolve_fntype): Prevent use of invalid specification
            expression for character length.

    gcc/testsuite/ChangeLog:

            PR fortran/96025
            * gfortran.dg/pr96025.f90: New test.

Reply via email to