On Linux/x86_64,

e7ce7c4905fd254760b1cd187752a03bc0c148ba is the first bad commit
commit e7ce7c4905fd254760b1cd187752a03bc0c148ba
Author: Longjun Luo <luolongj...@gmail.com>
Date:   Sun Apr 30 12:28:06 2023 -0600

    [PATCH] libcpp: suppress builtin macro redefined warnings for __LINE__

caused

FAIL: c-c++-common/cpp/pr92296-2.c  -Wc++-compat   (test for warnings, line 41)
FAIL: gcc.dg/cpp/undef2.c (test for excess errors)
FAIL: gcc.dg/cpp/undef2.c  (test for warnings, line 9)

with GCC configured with

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