https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122550
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=109751
Keywords|needs-bisection |
CC| |jason at gcc dot gnu.org,
| |ppalka at gcc dot gnu.org
Summary|[14/15/16 Regression] |[14/15/16 Regression]
|template friend function |constrained hidden template
|with a concept is ambiguous |friend alongside existing
|with gcc 14+ |declaration is ambiguous
--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Started with r14-3389 "c++: constrained hidden friends [PR109751]".
If we remove the constraints from both declarations of 'add', then GCC accepts.