https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107788
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Thanks for filing this bug, and thanks for reducing it. The ICE should be fixed by the above commit. That said, the known_function machinery is erroneously deciding to use the "bind" handling even for std::bind, so keeping this open to track only doing it for names in the root namespace.