On Linux/x86_64,

9c03391ba447ff86038d6a34c90ae737c3915b5f is the first bad commit
commit 9c03391ba447ff86038d6a34c90ae737c3915b5f
Author: Thomas Schwinge <tho...@codesourcery.com>
Date:   Wed Jun 7 16:24:26 2023 +0200

    Tighten 'dg-warning' alternatives in 
'c-c++-common/Wfree-nonheap-object{,-2,-3}.c'

caused

FAIL: c-c++-common/Wfree-nonheap-object-3.c  -std=gnu++14 (test for excess 
errors)
FAIL: c-c++-common/Wfree-nonheap-object-3.c  -std=gnu++14  (test for warnings, 
line 45)
FAIL: c-c++-common/Wfree-nonheap-object-3.c  -std=gnu++17 (test for excess 
errors)
FAIL: c-c++-common/Wfree-nonheap-object-3.c  -std=gnu++17  (test for warnings, 
line 45)
FAIL: c-c++-common/Wfree-nonheap-object-3.c  -std=gnu++20 (test for excess 
errors)
FAIL: c-c++-common/Wfree-nonheap-object-3.c  -std=gnu++20  (test for warnings, 
line 45)
FAIL: c-c++-common/Wfree-nonheap-object-3.c  -std=gnu++98 (test for excess 
errors)
FAIL: c-c++-common/Wfree-nonheap-object-3.c  -std=gnu++98  (test for warnings, 
line 45)

with GCC configured with

../../gcc/configure 
--prefix=/export/users/haochenj/src/gcc-bisect/master/master/r14-1805/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=c-c++-common/Wfree-nonheap-object-3.c 
--target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="dg.exp=c-c++-common/Wfree-nonheap-object-3.c 
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="dg.exp=c-c++-common/Wfree-nonheap-object-3.c 
--target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check 
RUNTESTFLAGS="dg.exp=c-c++-common/Wfree-nonheap-object-3.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)

Reply via email to