https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58281
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org Depends on| |65942 --- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> --- This was fixed by the patch for bug 65942, because not instantiating the constexpr function early in mark_used meant that it went to note_vague_linkage_fn, and therefore got fixed up properly at EOF. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65942 [Bug 65942] [5/6 Regression] [C++14] cannot use std::function as comparator in algorithms