[r12-1405 Regression] FAIL: gcc.dg/c2x-attr-maybe_unused-1.c (test for warnings, line 31) on Linux/x86_64

sunil.k.pandey skpandey@sc.intel.com
Sat Jun 12 21:41:32 GMT 2021


On Linux/x86_64,

c0f769fa3114ea852a26d93f0ee3f9595463de0b is the first bad commit
commit c0f769fa3114ea852a26d93f0ee3f9595463de0b
Author: Jason Merrill <jason@redhat.com>
Date:   Fri Jun 11 16:10:50 2021 -0400

    c-family: don't warn for [[maybe_unused]] on data member

caused

FAIL: gcc.dg/c2x-attr-maybe_unused-1.c  (test for warnings, line 23)
FAIL: gcc.dg/c2x-attr-maybe_unused-1.c  (test for warnings, line 31)

with GCC configured with

../../gcc/configure --prefix=/local/skpandey/gccwork/toolwork/gcc-bisect-master/master/r12-1405/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=gcc.dg/c2x-attr-maybe_unused-1.c --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/c2x-attr-maybe_unused-1.c --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/c2x-attr-maybe_unused-1.c --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/c2x-attr-maybe_unused-1.c --target_board='unix{-m64\ -march=cascadelake}'"

(Please do not reply to this email, for question about this report, contact me at skpgkp2 at gmail dot com)


More information about the Gcc-patches mailing list