Re: [patch] libgomp test fixes for FreeBSD

2013-12-17 Thread Andreas Tobler
On 17.12.13 18:54, Jakub Jelinek wrote: > On Tue, Dec 17, 2013 at 06:42:22PM +0100, Andreas Tobler wrote: >> 2013-12-17 Andreas Tobler >> >> * testsuite/libgomp.c/affinity-1.c: Remove alloca.h inlcude. > > In this case please also change the alloca (...) use in the testcase > to __builtin_

Re: [patch] libgomp test fixes for FreeBSD

2013-12-17 Thread Jakub Jelinek
On Tue, Dec 17, 2013 at 06:42:22PM +0100, Andreas Tobler wrote: > 2013-12-17 Andreas Tobler > > * testsuite/libgomp.c/affinity-1.c: Remove alloca.h inlcude. In this case please also change the alloca (...) use in the testcase to __builtin_alloca (...) and update the ChangeLog entry. Ok w

[patch] libgomp test fixes for FreeBSD

2013-12-17 Thread Andreas Tobler
Hello, the below patch fixes three unresolved and a FAIL test case in libgomp. The FAIL test case can be solved with removing the include of the alloca.h header which is not present on FreeBSD. On Linux this header will be pulled in via stdlib.h if we define _GNU_SOURCE. And this we do. Tested o