This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug boehm-gc/48299] [4.7 Regression] FAIL: boehm-gc.c/thread_leak_test.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]