https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113807
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |14.0 --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- I'm surprised the compiler can't optimize _M_do_set() and operator== already, but it looks like it doesn't recognize the trivial loops.