https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69371

--- Comment #2 from Ed Smith-Rowland <3dw4rd at verizon dot net> ---
On 01/19/2016 10:19 PM, thopre01 at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69371
>
>              Bug ID: 69371
>             Summary: UNRESOLVED:
>                      special_functions/18_riemann_zeta/check_value.cc
>                      compilation failed to produce executable
>             Product: gcc
>             Version: 6.0
>              Status: UNCONFIRMED
>            Severity: normal
>            Priority: P3
>           Component: testsuite
>            Assignee: unassigned at gcc dot gnu.org
>            Reporter: thopre01 at gcc dot gnu.org
>                  CC: 3dw4rd at verizon dot net, CaptainSifff at gmx dot de,
>                      redi at gcc dot gnu.org
>    Target Milestone: ---
>              Target: arm-none-eabi
>
> Hi,
>
> special_functions/18_riemann_zeta/check_value.cc fails to build on
> arm-none-eabi targets with the following error:
>
> libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc: In
> function 'void test(const testcase_riemann_zeta<Tp> (&)[Num], Tp)':
> libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc:285:15:
> error: 'riemann_zeta' is not a member of 'std'
>
> Since special_functions/18_riemann_zeta/check_nan.cc builds successfully, I
> suppose that's due to missing one or all of the following directives:
>
> // { dg-require-c-std "" }
> // { dg-add-options ieee }
>
> which are present for check_nan.cc but not for check_value.cc
>
I would expect that the whole special function test suite would fail.
I do remember we had a timeout issue with riemann zeta on some targets.

The message looks more like a header - cmath - is not included or that 
the line
// { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
or equivalent is not set.

But my fresh checkout has the necessary things..

Reply via email to