https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122550
--- Comment #6 from Egas Ribeiro <egas.g.ribeiro at tecnico dot ulisboa.pt> --- Patch submitted: https://gcc.gnu.org/pipermail/gcc-patches/2025-December/704010.html The issue is that DECL_TEMPLATE_INFO isn't set when we call pushdecl_namespace_level, and that makes member_like_constrained_friend_p wrongly return true. Missing a good way to fix this though.
