Updated version of v3:
  https://gcc.gnu.org/pipermail/libstdc++/2025-July/062772.html

Notably it (finally) removes the debug assertion. It should be
applied after (at least that's the order I test them in locally):

  https://gcc.gnu.org/pipermail/libstdc++/2025-July/062727.html

It might be safer to also apply the "Improvements" patch series
first, since updating std::dims and std::aligned_accessor is much
easier than the reverse.

Luc Grosheintz (2):
  libstdc++: Implement is_sufficiently_aligned [PR120994]
  libstdc++: Implement aligned_accessor from mdspan [PR120994]

 libstdc++-v3/include/bits/align.h             | 16 ++++++
 libstdc++-v3/include/bits/version.def         | 18 +++++++
 libstdc++-v3/include/bits/version.h           | 20 +++++++
 libstdc++-v3/include/std/mdspan               | 54 +++++++++++++++++++
 libstdc++-v3/include/std/memory               |  1 +
 libstdc++-v3/src/c++23/std.cc.in              | 10 ++--
 .../20_util/headers/memory/version.cc         |  4 ++
 .../20_util/is_sufficiently_aligned/1.cc      | 31 +++++++++++
 .../mdspan/accessors/aligned_neg.cc           | 33 ++++++++++++
 .../accessors/debug/aligned_access_neg.cc     | 23 ++++++++
 .../accessors/debug/aligned_offset_neg.cc     | 23 ++++++++
 .../23_containers/mdspan/accessors/generic.cc | 31 +++++++++++
 .../testsuite/23_containers/mdspan/version.cc |  8 +++
 13 files changed, 269 insertions(+), 3 deletions(-)
 create mode 100644 libstdc++-v3/testsuite/20_util/is_sufficiently_aligned/1.cc
 create mode 100644 
libstdc++-v3/testsuite/23_containers/mdspan/accessors/aligned_neg.cc
 create mode 100644 
libstdc++-v3/testsuite/23_containers/mdspan/accessors/debug/aligned_access_neg.cc
 create mode 100644 
libstdc++-v3/testsuite/23_containers/mdspan/accessors/debug/aligned_offset_neg.cc

-- 
2.50.0

Reply via email to