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: [RFC, PR68580] Handle pthread_create error in tsan testsuite


On Thu, Feb 18, 2016 at 08:19:22PM +0000, Bernd Edlinger wrote:
> > Could you add 'PR testsuite/68580' to the log entry when committing?
> >
> 
> Yes, of course, thanks.
> 
> Could someone take the time and review this patch?
> I don't think it can cause any trouble for gcc-6 and/or gcc-5
> even at stage 4.
> 
> Is it OK for trunk and gcc-5-branch?

Ok.

> >> 2016-02-15  Bernd Edlinger<bernd.edlinger@hotmail.de>
> >>
> >>     * c-c++-common/tsan/pr65400-1.c (v, q, o): Make 8-byte aligned.
> >>
> >> --- gcc/testsuite/c-c++-common/tsan/pr65400-1.c.jj    2015-03-19
> >> 08:53:38.000000000 +0100
> >> +++ gcc/testsuite/c-c++-common/tsan/pr65400-1.c    2016-02-15
> >> 11:09:18.852320827 +0100
> >> @@ -7,9 +7,9 @@
> >>   #include "tsan_barrier.h"
> >>
> >>   static pthread_barrier_t barrier;
> >> -int v;
> >> -int q;
> >> -int o;
> >> +int v __attribute__((aligned(8)));
> >> +int q __attribute__((aligned(8)));
> >> +int o __attribute__((aligned(8)));
> >>   extern void baz4 (int *);
> >>
> >>   __attribute__((noinline, noclone)) int
> >

	Jakub


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