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.
  • [Bug c++/122550] [14... egas.g.ribeiro at tecnico dot ulisboa.pt via Gcc-bugs
    • [Bug c++/122550... egas.g.ribeiro at tecnico dot ulisboa.pt via Gcc-bugs
    • [Bug c++/122550... egas.g.ribeiro at tecnico dot ulisboa.pt via Gcc-bugs

Reply via email to