[Bug libstdc++/24704] __gnu_cxx::__exchange_and_add is out of line and called even for single threaded applications using std::string

ahu at ds9a dot nl gcc-bugzilla@gcc.gnu.org
Mon Nov 7 17:00:00 GMT 2005



------- Comment #3 from ahu at ds9a dot nl  2005-11-07 17:00 -------
I've now verified that even when the entire compiler is compiled with
--enable-threads=single, the resulting libstdc++ does the full 'lock; xadd'
thing in __exchange_and_add, which I consider a bug (and more importantly, so
does pinskia).


-- 

ahu at ds9a dot nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24704



More information about the Gcc-bugs mailing list