Re: [PATCH] libgomp.c/ cleanup

2014-10-06 Thread Marek Polacek
On Mon, Oct 06, 2014 at 12:46:51PM +0200, Jakub Jelinek wrote: > On Mon, Oct 06, 2014 at 12:18:33PM +0200, Marek Polacek wrote: > > --- gcc/libgomp/testsuite/libgomp.c/affinity-1.c > > +++ gcc/libgomp/testsuite/libgomp.c/affinity-1.c > > @@ -31,6 +31,7 @@ > > > > #ifdef DO_FORK > > #include >

Re: [PATCH] libgomp.c/ cleanup

2014-10-06 Thread Jakub Jelinek
On Mon, Oct 06, 2014 at 12:18:33PM +0200, Marek Polacek wrote: > --- gcc/libgomp/testsuite/libgomp.c/affinity-1.c > +++ gcc/libgomp/testsuite/libgomp.c/affinity-1.c > @@ -31,6 +31,7 @@ > > #ifdef DO_FORK > #include > +pid_t waitpid (pid_t, int *, int); I'd #include here instead. > --- gcc/l

[PATCH] libgomp.c/ cleanup

2014-10-06 Thread Marek Polacek
This patch is a cleanup of tests in libgomp.c/ directory. See https://gcc.gnu.org/ml/gcc-patches/2014-09/msg02656.html for more info. Tested on x86_64-linux: vanilla results == results with this patch == results with this patch and gnu11 as a default. Applying to trunk. 2014-10-06 Marek Polacek