https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126127
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Harald Anlauf <[email protected]>: https://gcc.gnu.org/g:3b09a7871d4fdb7f8f54f24ccd2a22293975cc5d commit r15-11510-g3b09a7871d4fdb7f8f54f24ccd2a22293975cc5d 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)
