https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123176
Bug ID: 123176
Summary: 23_containers/mdspan/submdspan/submdspan_canonicalize_
slices_neg.cc FAILs on Solaris
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
CC: luc.grosheintz at gmail dot com
Target Milestone: ---
Target: *-*-solaris2*
The 23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc test
FAILs on Solaris:
FAIL: 23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc
-std=gnu++26 (test for errors, line 117)
FAIL: 23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc
-std=gnu++26 (test for errors, line 118)
FAIL: 23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc
-std=gnu++26 (test for errors, line 120)
FAIL: 23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc
-std=gnu++26 (test for errors, line 128)
FAIL: 23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc
-std=gnu++26 (test for errors, line 129)
FAIL: 23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc
-std=gnu++26 (test for errors, line 130)
FAIL: 23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc
-std=gnu++26 (test for errors, line 131)
FAIL: 23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc
-std=gnu++26 (test for errors, line 132)
FAIL: 23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc
-std=gnu++26 (test for errors, line 133)
FAIL: 23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc
-std=gnu++26 (test for errors, line 77)
FAIL: 23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc
-std=gnu++26 (test for errors, line 78)
FAIL: 23_containers/mdspan/submdspan/submdspan_canonicalize_slices_neg.cc
-std=gnu++26 (test for errors, line 79)
I'm attaching the full compiler output, but AFAICS this happens because
char is signed on Solaris. However, if so I've no idea how to fix this.