aboutsummaryrefslogtreecommitdiff
path: root/zlib/configure
diff options
context:
space:
mode:
authorLuc Grosheintz <luc.grosheintz@gmail.com>2025-08-03 22:57:30 +0200
committerTomasz Kamiński <tkaminsk@redhat.com>2025-08-21 10:26:10 +0200
commit1a17fd28266ac8cde73a971fc7ebc216f4d07a05 (patch)
tree5f020ad66a6f71d70f2dd1683d8e72c952f054df /zlib/configure
parent6dd2a42ab652e243b73e46b7f6e4ecfb3346e8b0 (diff)
downloadgcc-1a17fd28266ac8cde73a971fc7ebc216f4d07a05.zip
gcc-1a17fd28266ac8cde73a971fc7ebc216f4d07a05.tar.gz
gcc-1a17fd28266ac8cde73a971fc7ebc216f4d07a05.tar.bz2
libstdc++: Replace numeric_limit with __int_traits in mdspan.
Using __int_traits avoids the need to include <limits> from <mdspan>. This in turn should reduce the size of the pre-compiled <mdspan>. Similar refactoring was carried out for PR92546. Unfortunately, ./gcc/xgcc -std=c++23 -P -E -x c++ - -include mdspan | wc -l shows a decrease by 1(!) line. This is due to bits/max_size_type.h which includes <limits>. libstdc++-v3/ChangeLog: * include/std/mdspan (__valid_static_extent): Replace numeric_limits with __int_traits. (extents::_S_ctor_explicit): Ditto. (extents::__static_quotient): Ditto. (layout_stride::mapping::mapping): Ditto. (mdspan::size): Ditto. * testsuite/23_containers/mdspan/extents/class_mandates_neg.cc: Update test with additional diagnostics. Reviewed-by: Tomasz Kamiński <tkaminsk@redhat.com> Signed-off-by: Luc Grosheintz <luc.grosheintz@gmail.com>
Diffstat (limited to 'zlib/configure')
0 files changed, 0 insertions, 0 deletions