This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Use less stack for pr29629.f90 of libgomp testsuite
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Jie Zhang <jie dot zhang at analog dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 19 Feb 2009 10:47:23 +0000
- Subject: Re: Use less stack for pr29629.f90 of libgomp testsuite
- References: <499CE7A1.30103@analog.com>
Jie Zhang wrote:
> Blackfin uses linuxthreads on Linux. Its default stack size of thread is
> less than 16000 bytes. The threads in pr29629.f90 needs more than 40000
> bytes for each. This patch changes n from 10000 to 1000 to enable this
> test for Blackfin, as well as other targets using linuxthreads. Is it OK?
It might be suitable to put it under control of the STACK_SIZE macro, no?
Then targets with big stacks could still run the full test.
cheers,
DaveK