[Bug libstdc++/62313] Data race in debug iterators

Jonathan Wakely jwakely@redhat.com
Tue Sep 30 15:32:00 GMT 2014


On 26/09/14 11:05 +0100, Jonathan Wakely wrote:
>On 26/09/14 00:00 +0200, François Dumont wrote:
>>
>>>>Apart from those minor adjustments I think this looks good, but I'd
>>>>like to know that it has been tested with -fsanitize=thread, even if
>>>>only lightly tested.
>>>>
>>>>
>>
>>Hi
>>
>>   Dmitry, who reported the bug, confirmed the fix. Can I go ahead 
>>and commit ?
>
>Yes, OK.

This caused some failures in the printer tests:

Running
/home/jwakely/src/gcc/gcc/libstdc++-v3/testsuite/libstdc++-prettyprinters/prettyprinters.exp ...
FAIL: libstdc++-prettyprinters/debug.cc print deqiter
FAIL: libstdc++-prettyprinters/debug.cc print lstiter
FAIL: libstdc++-prettyprinters/debug.cc print lstciter
FAIL: libstdc++-prettyprinters/debug.cc print mpiter
FAIL: libstdc++-prettyprinters/debug.cc print spciter



More information about the Gcc-patches mailing list