364 lines
15 KiB
Plaintext
364 lines
15 KiB
Plaintext
2021-02-01 François Dumont <fdumont@gcc.gnu.org>
|
||
|
||
PR libstdc++/70303
|
||
* include/bits/stl_deque.h (std::deque<>::operator-(iterator, iterator)):
|
||
Return 0 if both iterators are value-initialized.
|
||
* testsuite/23_containers/deque/70303.cc: New test.
|
||
* testsuite/23_containers/vector/70303.cc: New test.
|
||
|
||
2021-02-01 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* doc/xml/manual/status_cxx2011.xml: Update std::call_once
|
||
status.
|
||
* doc/xml/manual/status_cxx2014.xml: Likewise.
|
||
* doc/xml/manual/status_cxx2017.xml: Likewise. Update
|
||
std::from_chars and std::to_chars status. Fix formatting.
|
||
* doc/html/manual/status.html: Regenerate.
|
||
|
||
2021-01-28 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* include/experimental/bits/numeric_traits.h: Update copyright
|
||
dates.
|
||
* include/experimental/bits/simd.h: Likewise.
|
||
* include/experimental/bits/simd_builtin.h: Likewise.
|
||
* include/experimental/bits/simd_converter.h: Likewise.
|
||
* include/experimental/bits/simd_detail.h: Likewise.
|
||
* include/experimental/bits/simd_fixed_size.h: Likewise.
|
||
* include/experimental/bits/simd_math.h: Likewise.
|
||
* include/experimental/bits/simd_neon.h: Likewise.
|
||
* include/experimental/bits/simd_ppc.h: Likewise.
|
||
* include/experimental/bits/simd_scalar.h: Likewise.
|
||
* include/experimental/bits/simd_x86.h: Likewise.
|
||
* include/experimental/bits/simd_x86_conversions.h: Likewise.
|
||
* include/experimental/simd: Likewise.
|
||
* testsuite/experimental/simd/*: Likewise.
|
||
|
||
2021-01-27 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* doc/xml/manual/status_cxx2017.xml: Replace invalid entity.
|
||
* doc/html/*: Regenerate.
|
||
|
||
2021-01-27 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* testsuite/experimental/simd/generate_makefile.sh: Use printf
|
||
instead of echo when printing escape characters.
|
||
|
||
2021-01-27 Matthias Kretz <kretz@kde.org>
|
||
|
||
* scripts/check_simd: New file. This script is called from the
|
||
the check-simd target. It determines a set of compiler flags and
|
||
simulator setups for calling generate_makefile.sh and passes the
|
||
information back to the check-simd target, which recurses to the
|
||
generated Makefiles.
|
||
* scripts/create_testsuite_files: Remove files below simd/tests/
|
||
from testsuite_files and place them in testsuite_files_simd.
|
||
* testsuite/Makefile.am: Add testsuite_files_simd. Add
|
||
check-simd target.
|
||
* testsuite/Makefile.in: Regenerate.
|
||
* testsuite/experimental/simd/driver.sh: New file. This script
|
||
compiles and runs a given simd test, logging its output and
|
||
status. It uses the timeout command to implement compile and
|
||
test timeouts.
|
||
* testsuite/experimental/simd/generate_makefile.sh: New file.
|
||
This script generates a Makefile which uses driver.sh to compile
|
||
and run the tests and collect the logs into a single log file.
|
||
* testsuite/experimental/simd/tests/abs.cc: New file. Tests
|
||
abs(simd).
|
||
* testsuite/experimental/simd/tests/algorithms.cc: New file.
|
||
Tests min/max(simd, simd).
|
||
* testsuite/experimental/simd/tests/bits/conversions.h: New
|
||
file. Contains functions to support tests involving conversions.
|
||
* testsuite/experimental/simd/tests/bits/make_vec.h: New file.
|
||
Support functions make_mask and make_vec.
|
||
* testsuite/experimental/simd/tests/bits/mathreference.h: New
|
||
file. Support functions to supply precomputed math function
|
||
reference data.
|
||
* testsuite/experimental/simd/tests/bits/metahelpers.h: New
|
||
file. Support code for SFINAE testing.
|
||
* testsuite/experimental/simd/tests/bits/simd_view.h: New file.
|
||
* testsuite/experimental/simd/tests/bits/test_values.h: New
|
||
file. Test functions to easily drive a test with simd objects
|
||
initialized from a given list of values and a range of random
|
||
values.
|
||
* testsuite/experimental/simd/tests/bits/ulp.h: New file.
|
||
Support code to determine the ULP distance of simd objects.
|
||
* testsuite/experimental/simd/tests/bits/verify.h: New file.
|
||
Test framework for COMPARE'ing simd objects and instantiating
|
||
the test templates with value_type and ABI tag.
|
||
* testsuite/experimental/simd/tests/broadcast.cc: New file. Test
|
||
simd broadcasts.
|
||
* testsuite/experimental/simd/tests/casts.cc: New file. Test
|
||
simd casts.
|
||
* testsuite/experimental/simd/tests/fpclassify.cc: New file.
|
||
Test floating-point classification functions.
|
||
* testsuite/experimental/simd/tests/frexp.cc: New file. Test
|
||
frexp(simd).
|
||
* testsuite/experimental/simd/tests/generator.cc: New file. Test
|
||
simd generator constructor.
|
||
* testsuite/experimental/simd/tests/hypot3_fma.cc: New file.
|
||
Test 3-arg hypot(simd,simd,simd) and fma(simd,simd,sim).
|
||
* testsuite/experimental/simd/tests/integer_operators.cc: New
|
||
file. Test integer operators.
|
||
* testsuite/experimental/simd/tests/ldexp_scalbn_scalbln_modf.cc:
|
||
New file. Test ldexp(simd), scalbn(simd), scalbln(simd), and
|
||
modf(simd).
|
||
* testsuite/experimental/simd/tests/loadstore.cc: New file. Test
|
||
(converting) simd loads and stores.
|
||
* testsuite/experimental/simd/tests/logarithm.cc: New file. Test
|
||
log*(simd).
|
||
* testsuite/experimental/simd/tests/mask_broadcast.cc: New file.
|
||
Test simd_mask broadcasts.
|
||
* testsuite/experimental/simd/tests/mask_conversions.cc: New
|
||
file. Test simd_mask conversions.
|
||
* testsuite/experimental/simd/tests/mask_implicit_cvt.cc: New
|
||
file. Test simd_mask implicit conversions.
|
||
* testsuite/experimental/simd/tests/mask_loadstore.cc: New file.
|
||
Test simd_mask loads and stores.
|
||
* testsuite/experimental/simd/tests/mask_operator_cvt.cc: New
|
||
file. Test simd_mask operators convert as specified.
|
||
* testsuite/experimental/simd/tests/mask_operators.cc: New file.
|
||
Test simd_mask compares, subscripts, and negation.
|
||
* testsuite/experimental/simd/tests/mask_reductions.cc: New
|
||
file. Test simd_mask reductions.
|
||
* testsuite/experimental/simd/tests/math_1arg.cc: New file. Test
|
||
1-arg math functions on simd.
|
||
* testsuite/experimental/simd/tests/math_2arg.cc: New file. Test
|
||
2-arg math functions on simd.
|
||
* testsuite/experimental/simd/tests/operator_cvt.cc: New file.
|
||
Test implicit conversions on simd binary operators behave as
|
||
specified.
|
||
* testsuite/experimental/simd/tests/operators.cc: New file. Test
|
||
simd compares, subscripts, not, unary minus, plus, minus,
|
||
multiplies, divides, increment, and decrement.
|
||
* testsuite/experimental/simd/tests/reductions.cc: New file.
|
||
Test reduce(simd).
|
||
* testsuite/experimental/simd/tests/remqo.cc: New file. Test
|
||
remqo(simd).
|
||
* testsuite/experimental/simd/tests/simd.cc: New file. Basic
|
||
sanity checks of simd types.
|
||
* testsuite/experimental/simd/tests/sincos.cc: New file. Test
|
||
sin(simd) and cos(simd).
|
||
* testsuite/experimental/simd/tests/split_concat.cc: New file.
|
||
Test split(simd) and concat(simd, simd).
|
||
* testsuite/experimental/simd/tests/splits.cc: New file. Test
|
||
split(simd_mask).
|
||
* testsuite/experimental/simd/tests/trigonometric.cc: New file.
|
||
Test remaining trigonometric functions on simd.
|
||
* testsuite/experimental/simd/tests/trunc_ceil_floor.cc: New
|
||
file. Test trunc(simd), ceil(simd), and floor(simd).
|
||
* testsuite/experimental/simd/tests/where.cc: New file. Test
|
||
masked operations using where.
|
||
|
||
2021-01-27 Matthias Kretz <kretz@kde.org>
|
||
|
||
* doc/xml/manual/status_cxx2017.xml: Add implementation status
|
||
of the Parallelism TS 2. Document implementation-defined types
|
||
and behavior.
|
||
* include/Makefile.am: Add new headers.
|
||
* include/Makefile.in: Regenerate.
|
||
* include/experimental/simd: New file. New header for
|
||
Parallelism TS 2.
|
||
* include/experimental/bits/numeric_traits.h: New file.
|
||
Implementation of P1841R1 using internal naming. Addition of
|
||
missing IEC559 functionality query.
|
||
* include/experimental/bits/simd.h: New file. Definition of the
|
||
public simd interfaces and general implementation helpers.
|
||
* include/experimental/bits/simd_builtin.h: New file.
|
||
Implementation of the _VecBuiltin simd_abi.
|
||
* include/experimental/bits/simd_converter.h: New file. Generic
|
||
simd conversions.
|
||
* include/experimental/bits/simd_detail.h: New file. Internal
|
||
macros for the simd implementation.
|
||
* include/experimental/bits/simd_fixed_size.h: New file. Simd
|
||
fixed_size ABI specific implementations.
|
||
* include/experimental/bits/simd_math.h: New file. Math
|
||
overloads for simd.
|
||
* include/experimental/bits/simd_neon.h: New file. Simd NEON
|
||
specific implementations.
|
||
* include/experimental/bits/simd_ppc.h: New file. Implement bit
|
||
shifts to avoid invalid results for integral types smaller than
|
||
int.
|
||
* include/experimental/bits/simd_scalar.h: New file. Simd scalar
|
||
ABI specific implementations.
|
||
* include/experimental/bits/simd_x86.h: New file. Simd x86
|
||
specific implementations.
|
||
* include/experimental/bits/simd_x86_conversions.h: New file.
|
||
x86 specific conversion optimizations. The conversion patterns
|
||
work around missing conversion patterns in the compiler and
|
||
should be removed as soon as PR85048 is resolved.
|
||
* testsuite/experimental/simd/standard_abi_usable.cc: New file.
|
||
Test that all (not all fixed_size<N>, though) standard simd and
|
||
simd_mask types are usable.
|
||
* testsuite/experimental/simd/standard_abi_usable_2.cc: New
|
||
file. As above but with -ffast-math.
|
||
* testsuite/libstdc++-dg/conformance.exp: Don't build simd tests
|
||
from the standard test loop. Instead use
|
||
check_vect_support_and_set_flags to build simd tests with the
|
||
relevant machine flags.
|
||
|
||
2021-01-27 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/66414
|
||
* include/bits/string_view.tcc
|
||
(basic_string_view::find(const CharT*, size_type, size_type)):
|
||
Optimize.
|
||
|
||
2021-01-27 Paul Fee <paul.f.fee@gmail.com>
|
||
|
||
* include/bits/basic_string.h (basic_string::contains): New
|
||
member functions.
|
||
* include/std/string_view (basic_string_view::contains):
|
||
Likewise.
|
||
* include/std/version (__cpp_lib_string_contains): Define.
|
||
* testsuite/21_strings/basic_string/operations/starts_with/char/1.cc:
|
||
Remove trailing whitespace.
|
||
* testsuite/21_strings/basic_string/operations/starts_with/wchar_t/1.cc:
|
||
Likewise.
|
||
* testsuite/21_strings/basic_string/operations/contains/char/1.cc: New test.
|
||
* testsuite/21_strings/basic_string/operations/contains/wchar_t/1.cc: New test.
|
||
* testsuite/21_strings/basic_string_view/operations/contains/char/1.cc: New test.
|
||
* testsuite/21_strings/basic_string_view/operations/contains/char/2.cc: New test.
|
||
* testsuite/21_strings/basic_string_view/operations/contains/wchar_t/1.cc: New test.
|
||
|
||
2021-01-21 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* src/c++17/Makefile.in: Regenerate.
|
||
|
||
2021-01-20 David Edelsohn <dje.gcc@gmail.com>
|
||
|
||
* config/os/aix/ctype_inline.h (bool ctype<char>:: is): Cast
|
||
_OBJ_DATA subscript to unsigned char. Add _THREAD_SAFE access to
|
||
__lc_type.
|
||
(const char* ctype<char>:: is): Same.
|
||
|
||
2021-01-18 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/98725
|
||
* testsuite/20_util/unique_ptr/io/lwg2948.cc: Do not try to
|
||
write to a wide character stream if wide character support is
|
||
disabled in the library.
|
||
|
||
2021-01-18 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* testsuite/27_io/basic_stringstream/cons/char/1.cc: Use
|
||
stringbuf not wstringbuf.
|
||
|
||
2021-01-18 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
PR debug/98708
|
||
* src/c++11/Makefile.am (cxx11-ios_failure-lt.s, cxx11-ios_failure.s):
|
||
Compile with -gno-as-loc-support.
|
||
* src/c++11/Makefile.in: Regenerated.
|
||
|
||
2021-01-16 H.J. Lu <hjl.tools@gmail.com>
|
||
|
||
* testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
|
||
Add -fcf-protection=none to -march=i486.
|
||
|
||
2021-01-14 François Dumont <fdumont@gcc.gnu.org>
|
||
|
||
* testsuite/23_containers/deque/debug/98466.cc: Make it pre-C++11
|
||
compliant.
|
||
|
||
2021-01-14 Alexandre Oliva <oliva@adacore.com>
|
||
|
||
* testsuite/30_threads/future/members/poll.cc: Calibrate
|
||
iteration count.
|
||
|
||
2021-01-14 François Dumont <fdumont@gcc.gnu.org>
|
||
|
||
PR libstdc++/98466
|
||
* include/bits/hashtable_policy.h (_Node_iterator_base()): Set _M_cur to nullptr.
|
||
(_Node_iterator()): Make default.
|
||
(_Node_const_iterator()): Make default.
|
||
* include/debug/macros.h (__glibcxx_check_erae_range_after): Add _M_singular
|
||
iterator checks.
|
||
* include/debug/safe_iterator.h
|
||
(_GLIBCXX_DEBUG_VERIFY_OPERANDS): Accept if both iterator are value initialized.
|
||
* include/debug/safe_local_iterator.h (_GLIBCXX_DEBUG_VERIFY_OPERANDS):
|
||
Likewise.
|
||
* include/debug/safe_iterator.tcc (_Safe_iterator<>::_M_valid_range): Add
|
||
_M_singular checks on input iterators.
|
||
* src/c++11/debug.cc (_Safe_iterator_base::_M_can_compare): Remove _M_singular
|
||
checks.
|
||
* testsuite/23_containers/deque/debug/98466.cc: New test.
|
||
* testsuite/23_containers/unordered_map/debug/98466.cc: New test.
|
||
|
||
2021-01-14 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
PR libstdc++/98471
|
||
* include/bits/fs_path.h (__throw_conversion_error): New
|
||
function to throw or abort on character conversion errors.
|
||
(__wstr_from_utf8): Move definition after filesystem_error has
|
||
been defined. Use __throw_conversion_error.
|
||
(path::_S_convert<_EcharT>): Use __throw_conversion_error.
|
||
(path::_S_str_convert<_CharT, _Traits, _Allocator>): Likewise.
|
||
(path::u8string): Likewise.
|
||
|
||
2021-01-14 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* include/std/barrier: Update copyright years. Fix whitespace.
|
||
* include/std/version: Fix whitespace.
|
||
* testsuite/30_threads/barrier/1.cc: Update copyright years.
|
||
* testsuite/30_threads/barrier/2.cc: Likewise.
|
||
* testsuite/30_threads/barrier/arrive.cc: Likewise.
|
||
* testsuite/30_threads/barrier/arrive_and_drop.cc: Likewise.
|
||
* testsuite/30_threads/barrier/arrive_and_wait.cc: Likewise.
|
||
* testsuite/30_threads/barrier/completion.cc: Likewise.
|
||
|
||
2021-01-13 Jonathan Wakely <jwakely@redhat.com>
|
||
|
||
* doc/doxygen/user.cfg.in (INPUT): Remove include/debug/array.
|
||
|
||
2021-01-10 David Edelsohn <dje.gcc@gmail.com>
|
||
|
||
PR libstdc++/98613
|
||
* testsuite/ext/vstring/cons/moveable.cc: Suppress false positive
|
||
warning.
|
||
* testsuite/ext/vstring/modifiers/assign/move_assign.cc: Same.
|
||
|
||
2021-01-08 Olivier Hainque <hainque@adacore.com>
|
||
|
||
* testsuite/20_util/bind/ref_neg.cc: Tweak the
|
||
dg-prune-output regex for out-of-build-tree contexts.
|
||
|
||
2021-01-07 Thomas Rodgers <trodgers@redhat.com>
|
||
|
||
* doc/doxygen/user.cfg.in: Add new header.
|
||
* include/Makefile.am (std_headers): likewise.
|
||
* include/Makefile.in: Regenerate.
|
||
* include/precompiled/stdc++.h: Add new header.
|
||
* include/std/barrier: New file.
|
||
* include/std/version: Add __cpp_lib_barrier feature test macro.
|
||
* testsuite/30_threads/barrier/1.cc: New test.
|
||
* testsuite/30_threads/barrier/2.cc: Likewise.
|
||
* testsuite/30_threads/barrier/arrive_and_drop.cc: Likewise.
|
||
* testsuite/30_threads/barrier/arrive_and_wait.cc: Likewise.
|
||
* testsuite/30_threads/barrier/arrive.cc: Likewise.
|
||
* testsuite/30_threads/barrier/completion.cc: Likewise.
|
||
|
||
2021-01-07 Patrick Palka <ppalka@redhat.com>
|
||
|
||
PR libstdc++/98384
|
||
* testsuite/20_util/to_chars/long_double.cc: Use nexttowardl
|
||
instead of the non-standard nextupl and nextdownl.
|
||
|
||
2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||
|
||
* configure: Re-generate.
|
||
|
||
2021-01-05 Ed Smith-Rowland <3dw4rd@verizon.net>
|
||
|
||
* include/precompiled/stdc++.h: Add <source_location> to C++20 section.
|
||
|
||
2021-01-01 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
* ChangeLog-2020: Rotate ChangeLog. New file.
|
||
|
||
|
||
Copyright (C) 2021 Free Software Foundation, Inc.
|
||
|
||
Copying and distribution of this file, with or without modification,
|
||
are permitted in any medium without royalty provided the copyright
|
||
notice and this notice are preserved.
|