[r11-4328 Regression] FAIL: g++.dg/warn/Wsizeof-array-div2.C -std=gnu++98 (test for warnings, line 11) on Linux/x86_64

sunil.k.pandey skpandey@sc.intel.com
Fri Oct 23 23:14:20 GMT 2020


On Linux/x86_64,

83f83ddfe0fe41c9b553850d4ababd5089df8332 is the first bad commit
commit 83f83ddfe0fe41c9b553850d4ababd5089df8332
Author: Marek Polacek <polacek@redhat.com>
Date:   Fri Sep 11 16:19:08 2020 -0400

    c, c++: Implement -Wsizeof-array-div [PR91741]

caused

FAIL: c-c++-common/Wsizeof-array-div1.c  -std=gnu++14  (test for warnings, line 16)
FAIL: c-c++-common/Wsizeof-array-div1.c  -std=gnu++14  (test for warnings, line 17)
FAIL: c-c++-common/Wsizeof-array-div1.c  -std=gnu++14  (test for warnings, line 21)
FAIL: c-c++-common/Wsizeof-array-div1.c  -std=gnu++17  (test for warnings, line 16)
FAIL: c-c++-common/Wsizeof-array-div1.c  -std=gnu++17  (test for warnings, line 17)
FAIL: c-c++-common/Wsizeof-array-div1.c  -std=gnu++17  (test for warnings, line 21)
FAIL: c-c++-common/Wsizeof-array-div1.c  -std=gnu++2a  (test for warnings, line 16)
FAIL: c-c++-common/Wsizeof-array-div1.c  -std=gnu++2a  (test for warnings, line 17)
FAIL: c-c++-common/Wsizeof-array-div1.c  -std=gnu++2a  (test for warnings, line 21)
FAIL: c-c++-common/Wsizeof-array-div1.c  -std=gnu++98  (test for warnings, line 16)
FAIL: c-c++-common/Wsizeof-array-div1.c  -std=gnu++98  (test for warnings, line 17)
FAIL: c-c++-common/Wsizeof-array-div1.c  -std=gnu++98  (test for warnings, line 21)
FAIL: c-c++-common/Wsizeof-array-div1.c  -Wc++-compat   (test for warnings, line 16)
FAIL: c-c++-common/Wsizeof-array-div1.c  -Wc++-compat   (test for warnings, line 17)
FAIL: c-c++-common/Wsizeof-array-div1.c  -Wc++-compat   (test for warnings, line 21)
FAIL: g++.dg/warn/Wsizeof-array-div2.C  -std=gnu++14  (test for warnings, line 11)
FAIL: g++.dg/warn/Wsizeof-array-div2.C  -std=gnu++17  (test for warnings, line 11)
FAIL: g++.dg/warn/Wsizeof-array-div2.C  -std=gnu++2a  (test for warnings, line 11)
FAIL: g++.dg/warn/Wsizeof-array-div2.C  -std=gnu++98  (test for warnings, line 11)

with GCC configured with

Configured with: ../../gcc/configure --prefix=/local/skpandey/gccwork/toolwork/gcc-bisect-master/master/r11-4328/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/Wsizeof-array-div1.c --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=c-c++-common/Wsizeof-array-div1.c --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/warn/Wsizeof-array-div2.C --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=g++.dg/warn/Wsizeof-array-div2.C --target_board='unix{-m32\ -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-regression mailing list