[Bug libstdc++/59439] std::locale uses atomic instructions on construction

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 26 14:34:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59439

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31405|0                           |1
        is obsolete|                            |

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 44757
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44757&action=edit
Better benchmark.

This fixes a couple of bugs in the benchmark and simplifies it so the overhead
of dynamically allocating std::thread objects and adding them to a vector is
not measured.


More information about the Gcc-bugs mailing list