Re: [patch] fix libstdc++/59215

2014-03-11 Thread Jonathan Wakely
On 27/01/14 17:58 +, Jonathan Wakely wrote: This fixes a tsan warning in shared_ptr by replacing the non-atomic load with a call to _M_get_use_count() which does a relaxed atomic load. Tested x86_64-linux, committed to trunk. Will commit to 4.8 soon too. Here's the commit to the 4.8 branch

[patch] fix libstdc++/59215

2014-01-27 Thread Jonathan Wakely
This fixes a tsan warning in shared_ptr by replacing the non-atomic load with a call to _M_get_use_count() which does a relaxed atomic load. Tested x86_64-linux, committed to trunk. Will commit to 4.8 soon too. commit a795f4e757d0f0ca11324a2c4f62cbe1bd876ec7 Author: Jonathan Wakely Date: Mon