https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40958
--- Comment #18 from russelldub at gmail dot com --- Created attachment 33703 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33703&action=edit Proposed patch to fix module equivalence duplicates Here is a proposed fix for the problem related to equivalence statements in nested/recursive use (see also PR 60780). I've run 'make check-fortran' on rev. 216017 with and without this patch had a FAIL on gfortran.dg/typebound_operator_3.f03 (as discussed in PR 63404) both ways.