https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101219
--- Comment #5 from Sergei Trofimovich <slyfox at gcc dot gnu.org> --- build_ptrmemfunc_type() creates fresh RECORD_TYPE for (each?) __pfn. Should it probably populate TYPE_BINFO(t) as well? https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/cp/decl.c;h=01d64a16125ec0bb8e3798136472c30f475f96a2;hb=HEAD#l10526