On Linux/x86_64,

5d4c555d8b716d0899530281fd1d9b31df74d9f4 is the first bad commit
commit 5d4c555d8b716d0899530281fd1d9b31df74d9f4
Author: Jason Merrill <[email protected]>
Date:   Wed Nov 11 10:25:25 2026 -0500

    c++/contracts: rework constexpr handling

caused

FAIL: g++.dg/contracts/cpp26/non-const1.C  -std=c++20 (test for excess errors)
FAIL: g++.dg/contracts/cpp26/non-const1.C  -std=c++98 (test for excess errors)

with GCC configured with

../../gcc/configure 
--prefix=/export/users3/haochenj/src/gcc-bisect/master/master/r17-6180/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}/gcc && make check 
RUNTESTFLAGS="dg.exp=g++.dg/contracts/cpp26/non-const1.C 
--target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="dg.exp=g++.dg/contracts/cpp26/non-const1.C 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="dg.exp=g++.dg/contracts/cpp26/non-const1.C 
--target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="dg.exp=g++.dg/contracts/cpp26/non-const1.C 
--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.)

Reply via email to