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

--- Comment #4 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:2fad7b2d4d4ae51bb65a23d45e883e07beae624c

commit r17-2264-g2fad7b2d4d4ae51bb65a23d45e883e07beae624c
Author: Harald Anlauf <[email protected]>
Date:   Tue Jul 7 20:06:35 2026 +0200

    Fortran: fix resolution of user-defined operators in named BLOCK [PR126127]

            PR fortran/126127

    gcc/fortran/ChangeLog:

            * interface.cc (find_symtree0): Check for NULL pointer.
            (gfc_find_sym_in_symtree): Also search user-defined operator list
            when the symbol refers to a function.

    gcc/testsuite/ChangeLog:

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

Reply via email to