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]

Re: Solaris & pthread mutex initializers


> > I can provide the following variant for Solaris 9:
> >
> > #pragma ident   "@(#)types.h    1.75    04/01/06 SMI"
>
> Most likely that would use the same initializer as "74"?

Right.

> > Could you refrain from committing anything until after PR
> > middle-end/19515 is resolved?  This is a (critical) bug I spotted because
> > the initializers don't use the {0,0,0,0,0,0,0,0} form.  Applying your
> > patch will hide it.
>
> It hides it iff fixing the pthread.h header were the test for the bug.

You're playing on words here. :-)

> I would hope there's a regular test that exposes the bug, too.

Yes, but I want to make sure that the underlying problem is fixed, i.e. that 
POSIX thread mutexes are correctly initialized on Solaris 64-bit in all cases 
(even if the header is not fixincluded).

-- 
Eric Botcazou


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