This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] cleanup testsuite for newlib targets


On 3/22/07, Benjamin Kosnik <bkoz@redhat.com> wrote:

Fixes for new testsuite entries on cross targets. Non-C99 targets don't have a lot of the necessary functionality for full C++ conformance, so the required API bits are not met. In this case, these test are now marked as unsupported.

This isn't necessarily optimal, but I'd appreciate it if people let me
roll with this until the header work is done and I have a fuller
understanding of how to do this long-term.

tested x86/linux
tested x86/linux x arm-eabi

-benjamin

It looks like this breaks tramp3d-v4.cpp which includes fenv.h:


/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp: In function 'void
enable_fp_exceptions()':
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51965: error:
'fexcept_t' was not declared in this scope
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51965: error:
expected `;' before 'f'
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51966: error: 'f'
was not declared in this scope
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51966: error:
'FE_INVALID' was not declared in this scope
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51966: error:
'FE_DIVBYZERO' was not declared in this scope
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51966: error:
'FE_OVERFLOW' was not declared in this scope
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51966: error:
'FE_UNDERFLOW' was not declared in this scope
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51966: error:
'fegetexceptflag' was not declared in this scope
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51967: error:
'fesetexceptflag' was not declared in this scope
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp: In function 'void
disable_fp_exceptions()':
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51971: error:
'FE_INEXACT' was not declared in this scope
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51971: error:
'FE_DIVBYZERO' was not declared in this scope
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51971: error:
'FE_UNDERFLOW' was not declared in this scope
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51971: error:
'FE_OVERFLOW' was not declared in this scope
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51971: error:
'FE_INVALID' was not declared in this scope
/gcc/spec/scripts/c++bench/tramp3d/tramp3d-v4.cpp:51971: error:
'feclearexcept' was not declared in this scope

How am I supposed to fix this?

Thanks,
Richard.

2007-03-21 Benjamin Kosnik <bkoz@redhat.com>

        * testsuite/21_strings/headers/cstdlib/functions_std.cc: Without
        C99 support, _GLIBCXX_USE_WCHAR_T not defined, so
        dg-require-c-std.
        * testsuite/tr1/6_containers/headers/functional/synopsis.cc: Same.
        * testsuite/27_io/headers/iostream/synopsis.cc: Same.
        * testsuite/27_io/headers/streambuf/types_std.cc: Same.
        * testsuite/27_io/headers/sstream/types_std.cc: Same.
        * testsuite/27_io/headers/ostream/types_std.cc: Same.
        * testsuite/27_io/headers/istream/types_std.cc: Same.
        * testsuite/27_io/headers/iostream/types_std.cc: Same.
        * testsuite/27_io/headers/fstream/types_std.cc: Same.
        * testsuite/21_strings/headers/string/types_std.cc: Same.
        * testsuite/21_strings/headers/cwctype/functions_std.cc: Same.
        * testsuite/21_strings/headers/cwctype/types_std.cc: Same.
        * testsuite/21_strings/headers/cwchar/functions_std.cc: Same.
        * testsuite/21_strings/headers/cwchar/types_std.cc: Same.

        * include/Makefile.am (c_compatibility_headers): Add fenv.h.
        * include/Makefile.in: Regenerate.
        * configure.host: Update comment.

* include/tr1/cfenv: Use include_next.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]