[r12-1702 Regression] FAIL: g++.target/i386/empty-class1.C -std=c++2a scan-rtl-dump-not expand "set" on Linux/x86_64

sunil.k.pandey skpandey@sc.intel.com
Tue Jun 22 00:08:03 GMT 2021


On Linux/x86_64,

7232f7c4c2d727431096a7ecfcf4ad4db71dcf2a is the first bad commit
commit 7232f7c4c2d727431096a7ecfcf4ad4db71dcf2a
Author: Jason Merrill <jason@redhat.com>
Date:   Sun Jun 13 14:00:12 2021 -0400

    expand: empty class return optimization [PR88529]

caused

FAIL: g++.target/i386/empty-class1.C  -std=c++14  scan-rtl-dump-not expand "set"
FAIL: g++.target/i386/empty-class1.C  -std=c++17  scan-rtl-dump-not expand "set"
FAIL: g++.target/i386/empty-class1.C  -std=c++2a  scan-rtl-dump-not expand "set"

with GCC configured with

../../gcc/configure --prefix=/local/skpandey/gccwork/toolwork/gcc-bisect-master/master/r12-1702/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="i386.exp=g++.target/i386/empty-class1.C --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="i386.exp=g++.target/i386/empty-class1.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-patches mailing list