[PATCH libstdc++/66689] comp_ellint_3 and ellint_3 return garbage values

Jonathan Wakely jwakely@redhat.com
Mon Nov 20 21:01:00 GMT 2017


On 20/11/17 21:43 +0100, Christophe Lyon wrote:
>On 20 November 2017 at 17:02, David Edelsohn <dje.gcc@gmail.com> wrote:
>> This patch has introduced new regressions on at least PowerPC and AArch64.
>>
>> FAIL: ext/special_functions/hyperg/check_value.cc execution test
>> FAIL: tr1/5_numerical_facilities/special_functions/17_hyperg/check_value.cc
>> execution test
>>
>> Thanks, David
>
>On AArch64 and ARM, I have also noticed
>FAIL: special_functions/18_riemann_zeta/check_value.cc (test for excess errors)
>UNRESOLVED: special_functions/18_riemann_zeta/check_value.cc
>compilation failed to produce executable
>because:
>/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc:
>In function 'void test(const testcase_riemann_zeta<Ret> (&)[Num],
>Ret)':
>/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc:292:
>error: 'riemann_zeta' is not a member of 'std'
>/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc:292:
>note: suggested alternative: 'remainder'
>compiler exited with status 1

The problem is that { dg-addition-options } was changed to dg-options,
and so the first dg-options that enables the special functions is not
used:

--- a/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc
+++ b/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc
@@ -21,7 +21,7 @@
 //  riemann_zeta

 // This can take long on simulators, timing out the test.
-// { dg-additional-options "-DMAX_ITERATIONS=5" { target simulator } }
+// { dg-options "-DMAX_ITERATIONS=5" { target simulator } }




More information about the Libstdc++ mailing list