[r17-567 Regression] FAIL: gcc.dg/crc-builtin-rev-target64.c scan-rtl-dump expand "; ; (?:using optab for|emitting crc table) crc_8_polynomial_0x12" on Linux/x86_64

Haochen Jiang <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.regression
Message-ID <[email protected]>
On Linux/x86_64,

7034f85fb6577ac48693f0606b7e33fef41a1b74 is the first bad commit
commit 7034f85fb6577ac48693f0606b7e33fef41a1b74
Author: Kito Cheng <[email protected]>
Date:   Fri Nov 28 17:58:21 2025 +0800

    middle-end: Optimize reversed CRC table-based implementation

caused

FAIL: gcc.dg/crc-builtin-rev-target32.c scan-rtl-dump expand ";; (?:using optab for|emitting crc table) crc_16_polynomial_0x1021"
FAIL: gcc.dg/crc-builtin-rev-target32.c scan-rtl-dump expand ";; (?:using optab for|emitting crc table) crc_32_polynomial_0x4002123"
FAIL: gcc.dg/crc-builtin-rev-target32.c scan-rtl-dump expand ";; (?:using optab for|emitting crc table) crc_8_polynomial_0x12"
FAIL: gcc.dg/crc-builtin-rev-target64.c scan-rtl-dump expand ";; (?:using optab for|emitting crc table) crc_16_polynomial_0x1021"
FAIL: gcc.dg/crc-builtin-rev-target64.c scan-rtl-dump expand ";; (?:using optab for|emitting crc table) crc_32_polynomial_0x4002123"
FAIL: gcc.dg/crc-builtin-rev-target64.c scan-rtl-dump expand ";; (?:using optab for|emitting crc table) crc_8_polynomial_0x12"

with GCC configured with

../../gcc/configure --prefix=/export/users3/haochenj/src/gcc-bisect/master/master/r17-567/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/crc-builtin-rev-target32.c --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/crc-builtin-rev-target32.c --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/crc-builtin-rev-target32.c --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/crc-builtin-rev-target32.c --target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/crc-builtin-rev-target64.c --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/crc-builtin-rev-target64.c --target_board='unix{-m64\ -march=cascadelake}'"

(Please directly reply to this email for question about this report.)
(If you met problems with cascadelake related, disabling AVX512F in command line might save that.)
(However, please make sure that there is no potential problems with AVX512.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.