https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87512
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Guo Youtao from comment #5) > This bug can still be triggered in gcc-11 and gcc-12. That is unrelated bug. Most likely an issue with pointer to member functions which is might have some known issues too.