RE: [r16-1429 Regression] FAIL: g++.target/i386/vect-pragma-target-2.C -std=gnu++98 (test for excess errors) on Linux/x86_64

"Jiang, Haochen via Gcc-regression" <[email protected]>
Newsgroups gmane.comp.gcc.regression,gmane.comp.gcc.patches
Message-ID <SJ5PPF77D28E3C2920A7F0D50648348C79BEC77A@SJ5PPF77D28E3C2.namprd11.prod.outlook.com>
I will do that.

Thx,
Haochen

From: Andrew Pinski <[email protected]>
Sent: Thursday, June 12, 2025 10:52 PM
Cc: [email protected]; [email protected]; GCC Patches <[email protected]>; Jiang, Haochen <[email protected]>
Subject: Re: [r16-1429 Regression] FAIL: g++.target/i386/vect-pragma-target-2.C -std=gnu++98 (test for excess errors) on Linux/x86_64


On Wed, Jun 11, 2025, 10:17 PM haochen.jiang <[email protected]<mailto:[email protected]>> wrote:
On Linux/x86_64,

dcb9af06212e8bb36e84a1b8498c625c29abeb6f is the first bad commit
commit dcb9af06212e8bb36e84a1b8498c625c29abeb6f
Author: Gwenole Beauchesne <[email protected]<mailto:[email protected]>>
Date:   Mon Jun 2 14:44:55 2025 -0700

    c/c++: Handle '#pragma GCC target optimize' early [PR48026]

caused

FAIL: gcc.target/i386/vect-pragma-target-1.c scan-assembler-times vpaddw.+zmm[0-9]+ 1
FAIL: g++.target/i386/vect-pragma-target-1.C  -std=gnu++17  scan-assembler-times vpaddw.+zmm[0-9]+ 1
FAIL: g++.target/i386/vect-pragma-target-1.C  -std=gnu++26  scan-assembler-times vpaddw.+zmm[0-9]+ 1
FAIL: g++.target/i386/vect-pragma-target-1.C  -std=gnu++98  scan-assembler-times vpaddw.+zmm[0-9]+ 1


Can someone file a bug for this. It is just a testcase issue so I am willing to let it broken until I get back from vacation.




with GCC configured with

../../gcc/configure --prefix=/export/users3/haochenj/src/gcc-bisect/master/master/r16-1429/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=gcc.target/i386/vect-pragma-target-1.c --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="i386.exp=gcc.target/i386/vect-pragma-target-1.c --target_board='unix{-m64\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="i386.exp=g++.target/i386/vect-pragma-target-1.C --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="i386.exp=g++.target/i386/vect-pragma-target-1.C --target_board='unix{-m64\ -march=cascadelake}'"

(Please do not reply to this email, for question about this report, contact me at haochen dot jiang at intel.com<http://intel.com>)
(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.