https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126127
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Harald Anlauf <[email protected]>: https://gcc.gnu.org/g:f8da72c33adf5190566f9aa30b2ed239589e3592 commit r16-9251-gf8da72c33adf5190566f9aa30b2ed239589e3592 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. (cherry picked from commit 2fad7b2d4d4ae51bb65a23d45e883e07beae624c)
