[Bug libstdc++/24704] [3.4/4.0/4.1 Regression] __gnu_cxx::__exchange_and_add is out of line and called even for single threaded applications using std::string
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Nov 7 17:38:00 GMT 2005
------- Comment #9 from pinskia at gcc dot gnu dot org 2005-11-07 17:38 -------
(In reply to comment #8)
> Andrew, in some sense you are right, given the current reference-counted nature
> of std::string. However, let's not close this PR: submitter has a point that
> the user should be enabled to disable the use of atomics when configuring for
> single thread. I leave to you the exact categorization... Thanks.
I should note I closed this based on a conversation with the submitter.
I also filed PR 24715 for the real issue.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24704
More information about the Gcc-bugs
mailing list