[PATCH 6/6] libstdc++: Import MSVC floating-point std::from_chars testcases

Jonathan Wakely jwakely@redhat.com
Mon Jan 17 10:54:17 GMT 2022


On Sun, 16 Jan 2022 at 18:17, Patrick Palka via Libstdc++ <
libstdc++@gcc.gnu.org> wrote:

> libstdc++-v3/ChangeLog:
>
>         * testsuite/20_util/from_chars/double.cc: New test, consisting
>         of testcases extracted from the MSVC STL testsuite.
>         * testsuite/20_util/from_chars/float.cc: New test.
> ---
>  .../testsuite/20_util/from_chars/double.cc    | 1674 +++++++++++++++++
>  .../testsuite/20_util/from_chars/float.cc     |  290 +++
>  2 files changed, 1964 insertions(+)
>  create mode 100644 libstdc++-v3/testsuite/20_util/from_chars/double.cc
>  create mode 100644 libstdc++-v3/testsuite/20_util/from_chars/float.cc
>
> diff --git a/libstdc++-v3/testsuite/20_util/from_chars/double.cc
> b/libstdc++-v3/testsuite/20_util/from_chars/double.cc
> new file mode 100644
> index 00000000000..ce53a1c56c2
> --- /dev/null
> +++ b/libstdc++-v3/testsuite/20_util/from_chars/double.cc
> @@ -0,0 +1,1674 @@
> +// This file consists of testcases extracted from the MSVC STL testsuite.
> +
> +// Copyright (c) Microsoft Corporation.
> +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
>

I think we should probably move (or copy) the
libstdc++-v3/include/pstl/LICENSE.txt file to another directory, since we
have files using this licence in other places too.

Please hold off committing this one while I think about that (and remind me
if you don't hear back from me with a decision).


More information about the Gcc-patches mailing list