diff options
| author | Luc Grosheintz <luc.grosheintz@gmail.com> | 2025-12-08 21:23:40 +0100 |
|---|---|---|
| committer | Tomasz Kamiński <tkaminsk@redhat.com> | 2025-12-09 13:26:08 +0100 |
| commit | 64d5e1eb97f198c9377c393d648c8db2617a80d0 (patch) | |
| tree | 7b9af28f6e48e09c9430aecba3fdb4c44fb040bc /libjava/classpath/gnu/java | |
| parent | 1cf9fda4936de54198858b8f54cd9707a3725f4e (diff) | |
| download | gcc-64d5e1eb97f198c9377c393d648c8db2617a80d0.zip gcc-64d5e1eb97f198c9377c393d648c8db2617a80d0.tar.gz gcc-64d5e1eb97f198c9377c393d648c8db2617a80d0.tar.bz2 | |
libstdc++: Silence warning in mdspan.
Splitting the tests for submdspan triggered a compiler warning. This
commit changes the implementation of __dynamic_extents. In particular,
how the span is created. Functionally, the two are equivalent.
libstdc++-v3/ChangeLog:
* include/std/mdspan (_ExtentsStorage::_M_dynamic_extents):
Create span from pointer + size, not begin and end iterators.
Reviewed-by: Tomasz Kamiński <tkaminsk@redhat.com>
Signed-off-by: Luc Grosheintz <luc.grosheintz@gmail.com>
Diffstat (limited to 'libjava/classpath/gnu/java')
0 files changed, 0 insertions, 0 deletions
