[Bug c++/106668] ICE: friend function in struct declaration in generic lambda
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 17 16:25:03 GMT 2022
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 <jason@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
More information about the Gcc-bugs
mailing list