https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106668

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed on trunk by

commit e8ed26c2ac38ab1f6ed5a627d9089a9243e06a0c
Author: Jason Merrill <ja...@redhat.com>
Date:   Tue Jun 7 15:52:30 2022 -0400

    c++: non-templated friends [PR105852]

    The previous patch for 105852 avoids copying DECL_TEMPLATE_INFO from a
    non-templated friend, but it really shouldn't have it in the first place.

            PR c++/105852

Reply via email to