[patch] libstdc++: Limit Riemann zeta testcases on simulator

Richard Sandiford rsandifo@nildram.co.uk
Fri Oct 12 08:06:00 GMT 2007


Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:
>> Date: Thu, 11 Oct 2007 08:56:13 -0400
>> From: Ed Smith-Rowland <3dw4rd@verizon.net>
>
>> Jesper Nilsson wrote:
>
>> > +// This can take long on simulators, timing out the test.
>> > +// { dg-options "-DMAX_ITERATIONS=5" { target simulator } }
>
>> I might be OK to limit the number of iterations for *one* target.  The 
>> data set that is being looped over is also a numeric accuracy check so 
>> I'm a little reluctant to truncate the tests for *all* targets.
>
> Jesper mentioned that the patch and the observations apply
> *only* when running on a simulator.  I think it's appropriate to
> prune the amount of numerical churn for such targets.  Similar
> patches have been applied to other time-consuming tests in the
> libstdc++ testsuite.

And for the record, these tests also time out for mipsisa32-elf with
-msoft-float, although they pass with -mhard-float.  (They're the only
libstdc++-v3 failures on that target.)

Richard



More information about the Gcc-patches mailing list