https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63733
--- Comment #7 from janus at gcc dot gnu.org --- I think the proper fix should be to look for type-bound operators *before* non-type-bound operators in gfc_extend_expr (interface.c). In gfc_extend_assign this is already done in the right order (i.e. type-bound first).