This is the mail archive of the gcc-patches@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] |
I checked in the attached patch, which also fixes two other similar problems, which show up with GC_DEBUG enabled. (There I chose to just include gc.h unconditionally instead, since it's harder to just use the #if.) AFAIK the AIX/Irix part is still untested, but since it's pretty clearly broken without the patch ... Hans > -----Original Message----- > From: Bryce McKinlay [mailto:mckinlay@redhat.com] > Sent: Monday, August 23, 2004 2:20 PM > To: Boehm, Hans > Cc: GCC Patches; java-patches > Subject: Re: [Patch] boehm-gc/win32_threads.c: Get > configuration defines > > > Looks good to me. > > Bryce > > Boehm, Hans wrote: > > >By analogy how about the following, which I can't test? > > > >Hans > > > >Index: aix_irix_threads.c > >=================================================================== > >RCS file: /cvs/gcc/gcc/boehm-gc/aix_irix_threads.c,v > >retrieving revision 1.2 > >diff -u -r1.2 aix_irix_threads.c > >--- aix_irix_threads.c 13 Aug 2004 23:05:29 -0000 1.2 > >+++ aix_irix_threads.c 23 Aug 2004 20:30:37 -0000 > >@@ -26,9 +26,10 @@ > > * as a base instead. > > */ > > > >+# include "private/gc_priv.h" > >+ > > # if defined(GC_IRIX_THREADS) || defined(GC_AIX_THREADS) > > > >-# include "private/gc_priv.h" > > # include <pthread.h> > > # include <assert.h> > > # include <semaphore.h> > > > > >
Attachment:
gc_inc.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |