https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101719
Bug ID: 101719 Summary: "Already defined" error in case of function specialization with concept Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fchelnokov at gmail dot com Target Milestone: --- The following correct code: ``` #include <iostream> constexpr int p(auto) { return 0; } constexpr int q() { return p(0); } constexpr int p(auto) requires true { return 1; } static_assert(p(0) == 1); static_assert(q() == 0); int main() { std::cout << q() << p(0) << '\n'; } ``` produces the error ``` Error: symbol `_Z1pIiEiT_' is already defined ```