https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68409
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- As Adrian says, your operator< is not valid. See https://www.sgi.com/tech/stl/StrictWeakOrdering.html for the requirements that must be met for the comparison function used by std::map