[Bug libstdc++/28961] Macro definitions needed by gcc/gthr.h are missing from libstdc++ build

2006-09-11 Thread pinskia at gcc dot gnu dot org
--- 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

[Bug libstdc++/28961] Macro definitions needed by gcc/gthr.h are missing from libstdc++ build

2006-09-06 Thread sethmoore at gmail dot com
--- 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