On Linux/x86_64, df483ebd24689a3bebfae2089637a00eca0e5a12 is the first bad commit commit df483ebd24689a3bebfae2089637a00eca0e5a12 Author: Jonathan Wakely <jwak...@redhat.com> Date: Mon Feb 26 13:17:13 2024 +0000
libstdc++: Add nodiscard in <algorithm> caused FAIL: g++.dg/torture/pr104601.C -O0 (test for excess errors) FAIL: g++.dg/torture/pr104601.C -O1 (test for excess errors) FAIL: g++.dg/torture/pr104601.C -O2 -flto -fno-use-linker-plugin -flto-partition=none (test for excess errors) FAIL: g++.dg/torture/pr104601.C -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) FAIL: g++.dg/torture/pr104601.C -O2 (test for excess errors) FAIL: g++.dg/torture/pr104601.C -O3 -g (test for excess errors) FAIL: g++.dg/torture/pr104601.C -Os (test for excess errors) with GCC configured with ../../gcc/configure --prefix=/export/users/haochenj/src/gcc-bisect/master/master/r14-9478/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-torture.exp=g++.dg/torture/pr104601.C --target_board='unix{-m32}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg-torture.exp=g++.dg/torture/pr104601.C --target_board='unix{-m32\ -march=cascadelake}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg-torture.exp=g++.dg/torture/pr104601.C --target_board='unix{-m64}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg-torture.exp=g++.dg/torture/pr104601.C --target_board='unix{-m64\ -march=cascadelake}'" (Please do not reply to this email, for question about this report, contact me at haochen dot jiang at intel.com.) (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.)