--- Comment #2 from pinskia at gcc dot gnu dot org 2006-09-12 05:42 ---
bits/atomicity.h now does on the mainline:
#include bits/c++config.h
#include bits/gthr.h
So fixed for 4.2.0 by:
r108775 | bkoz | 2005-12-18 16:56:05 -0800 (Sun, 18 Dec 2005) | 334 lines
2005-12-18 Benjamin
--- Comment #1 from sethmoore at gmail dot com 2006-09-06 12:54 ---
Created an attachment (id=12196)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12196action=view)
Test case that exhibits unsafe exchange_and_add.
Using this test code, we are able to consistently create a heap