This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug boehm-gc/48299] [4.7 Regression] FAIL: boehm-gc.c/thread_leak_test.c
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 25 Feb 2012 02:23:06 +0000
- Subject: [Bug boehm-gc/48299] [4.7 Regression] FAIL: boehm-gc.c/thread_leak_test.c
- Auto-submitted: auto-generated
- References: <bug-48299-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48299
--- Comment #16 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-02-25 02:23:06 UTC ---
Created attachment 26749
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26749
back port of thread_leak_test.c from ivmai-bdwgc-8b168d0
The random failures in testsuite/boehm-gc.c/thread_leak_test.c on darwin are
eliminated if the current structure of tests/thread_leak_test.c in
ivmai-bdwgc-8b168d0 is back ported to gcc's boehm-gc. Note that the MS windows
specific changes were left out. In particular...
#ifdef GC_PTHREADS
# include <pthread.h>
#else
# include <windows.h>
#endif
and
#ifdef GC_PTHREADS
void * test(void * arg)
#else
DWORD WINAPI test(LPVOID arg)
#endif