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

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

https://gcc.gnu.org/g:8f9450505f8244d262f8b4ff274f113f99cdc7e2

commit r16-2355-g8f9450505f8244d262f8b4ff274f113f99cdc7e2
Author: Harald Anlauf <[email protected]>
Date:   Fri Jul 18 21:12:03 2025 +0200

    Fortran: fix bogus runtime error with optional procedure argument
[PR121145]

            PR fortran/121145

    gcc/fortran/ChangeLog:

            * trans-expr.cc (gfc_conv_procedure_call): Do not create pointer
            check for proc-pointer actual passed to optional dummy.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/pointer_check_15.f90: New test.

Reply via email to