[r17-3305 Regression] FAIL: 23_containers/mdspan/submdspan/canonical_slices_neg.cc -std=gnu++29 (test for errors, line 62) on Linux/x86_64

Haochen Jiang <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.regression
Message-ID <[email protected]>
On Linux/x86_64,

d5634bbbaaa5c0a23988703d0d62f66c6df561bd is the first bad commit
commit d5634bbbaaa5c0a23988703d0d62f66c6df561bd
Author: Patrick Palka <[email protected]>
Date:   Fri Aug 14 15:53:23 2026 -0400

    c++: INIT_EXPR trial constexpr folding

caused

FAIL: 23_containers/mdspan/layouts/padded_neg.cc  -std=gnu++26  (test for errors, line 247)
FAIL: 23_containers/mdspan/layouts/padded_neg.cc  -std=gnu++26  (test for errors, line 248)
FAIL: 23_containers/mdspan/layouts/padded_neg.cc  -std=gnu++26  (test for errors, line 298)
FAIL: 23_containers/mdspan/layouts/padded_neg.cc  -std=gnu++26  (test for errors, line 302)
FAIL: 23_containers/mdspan/layouts/padded_neg.cc  -std=gnu++29  (test for errors, line 247)
FAIL: 23_containers/mdspan/layouts/padded_neg.cc  -std=gnu++29  (test for errors, line 248)
FAIL: 23_containers/mdspan/layouts/padded_neg.cc  -std=gnu++29  (test for errors, line 298)
FAIL: 23_containers/mdspan/layouts/padded_neg.cc  -std=gnu++29  (test for errors, line 302)
FAIL: 23_containers/mdspan/submdspan/canonical_slices_neg.cc  -std=gnu++26  (test for errors, line 58)
FAIL: 23_containers/mdspan/submdspan/canonical_slices_neg.cc  -std=gnu++26  (test for errors, line 61)
FAIL: 23_containers/mdspan/submdspan/canonical_slices_neg.cc  -std=gnu++26  (test for errors, line 62)
FAIL: 23_containers/mdspan/submdspan/canonical_slices_neg.cc  -std=gnu++29  (test for errors, line 58)
FAIL: 23_containers/mdspan/submdspan/canonical_slices_neg.cc  -std=gnu++29  (test for errors, line 61)
FAIL: 23_containers/mdspan/submdspan/canonical_slices_neg.cc  -std=gnu++29  (test for errors, line 62)

with GCC configured with

../../gcc/configure --prefix=/export/users3/haochenj/src/gcc-bisect/master/master/r17-3305/usr --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-languages=c,c++,fortran --enable-cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap

To reproduce:

$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check RUNTESTFLAGS="conformance.exp=23_containers/mdspan/layouts/padded_neg.cc --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check RUNTESTFLAGS="conformance.exp=23_containers/mdspan/layouts/padded_neg.cc --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check RUNTESTFLAGS="conformance.exp=23_containers/mdspan/layouts/padded_neg.cc --target_board='unix{-m64}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check RUNTESTFLAGS="conformance.exp=23_containers/mdspan/layouts/padded_neg.cc --target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check RUNTESTFLAGS="conformance.exp=23_containers/mdspan/submdspan/canonical_slices_neg.cc --target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check RUNTESTFLAGS="conformance.exp=23_containers/mdspan/submdspan/canonical_slices_neg.cc --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check RUNTESTFLAGS="conformance.exp=23_containers/mdspan/submdspan/canonical_slices_neg.cc --target_board='unix{-m64}'"
$ cd {build_dir}/x86_64-linux/libstdc++-v3/testsuite && make check RUNTESTFLAGS="conformance.exp=23_containers/mdspan/submdspan/canonical_slices_neg.cc --target_board='unix{-m64\ -march=cascadelake}'"

(Please directly reply to this email for question about this report.)
(If you met problems with cascadelake related, disabling AVX512F in command line might save that.)
(However, please make sure that there is no potential problems with AVX512.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.