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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jerry DeLisle <[email protected]>:

https://gcc.gnu.org/g:4cf4b2cd2a2692e97321fb8c5782d8cc5e9fa65d

commit r16-6726-g4cf4b2cd2a2692e97321fb8c5782d8cc5e9fa65d
Author: Steven G. Kargl <[email protected]>
Date:   Mon Jan 12 13:58:39 2026 -0800

    Fortran: Add additional checks for constant expressions.

            PR fortran/91960

    gcc/fortran/ChangeLog:

            * resolve.cc (resolve_fl_parameter): Check the righthand symbol
            is a constant expression.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/pr69962.f90: Adjust testcase to ignore new error
message.
            * gfortran.dg/pr91960_1.f90: New test.
            * gfortran.dg/pr91960_2.f90: New test.

Reply via email to