Use less stack for pr29629.f90 of libgomp testsuite

Dave Korn dave.korn.cygwin@googlemail.com
Thu Feb 19 12:53:00 GMT 2009


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



More information about the Gcc-patches mailing list