https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65498
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org --- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> --- The problem here is that mangling wants to do constexpr evaluation after we've thrown away the body of is_same::operator() because it isn't referenced.