[r16-5897 Regression] FAIL: gcc.dg/torture/pr99782-1.c -Os (test for excess errors) on Linux/x86_64

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

e148a21f38327f7c0e1040bf28c676dd0d13ca38 is the first bad commit
commit e148a21f38327f7c0e1040bf28c676dd0d13ca38
Author: Andrew Pinski <[email protected]>
Date:   Thu Oct 23 21:20:24 2025 -0700

    x86/aarch64: Fix compile time hog with ccmp [PR99782]

caused

FAIL: gcc.dg/torture/pr99782-1.c   -O0  (test for excess errors)
FAIL: gcc.dg/torture/pr99782-1.c   -O1  (test for excess errors)
FAIL: gcc.dg/torture/pr99782-1.c   -O2 -flto -fno-use-linker-plugin -flto-partition=none  (test for excess errors)
FAIL: gcc.dg/torture/pr99782-1.c   -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects  (test for excess errors)
FAIL: gcc.dg/torture/pr99782-1.c   -O2  (test for excess errors)
FAIL: gcc.dg/torture/pr99782-1.c   -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gcc.dg/torture/pr99782-1.c   -O3 -g  (test for excess errors)
FAIL: gcc.dg/torture/pr99782-1.c   -Os  (test for excess errors)

with GCC configured with

../../gcc/configure --prefix=/export/users3/haochenj/src/gcc-bisect/master/master/r16-5897/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-torture.exp=gcc.dg/torture/pr99782-1.c --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg-torture.exp=gcc.dg/torture/pr99782-1.c --target_board='unix{-m32\ -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.