aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorLuc Grosheintz <luc.grosheintz@gmail.com>2025-05-24 13:26:55 +0200
committerTomasz KamiƄski <tkaminsk@redhat.com>2025-05-27 11:12:25 +0200
commite46c5b3219436d92b867457c0a4465db29c42cde (patch)
treed076fc84e073b2ad1d105c313b03fffc2a5ec888 /libgcc
parent672569cee76a1927d14b5eb754a5ff0b9cee1bc8 (diff)
downloadgcc-e46c5b3219436d92b867457c0a4465db29c42cde.zip
gcc-e46c5b3219436d92b867457c0a4465db29c42cde.tar.gz
gcc-e46c5b3219436d92b867457c0a4465db29c42cde.tar.bz2
libstdc++: Fix bug in default ctor of extents.
The array that stores the dynamic extents used to be default initialized. The standard requires value intialization. This commit fixes the bug and adds a test. libstdc++-v3/ChangeLog: * include/std/mdspan: Value initialize the array storing the dynamic extents. * testsuite/23_containers/mdspan/extents/ctor_default.cc: New test. Signed-off-by: Luc Grosheintz <luc.grosheintz@gmail.com>
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions