[Bug testsuite/120643] New: [16 Regression] r16-1429 caused vect-pragma-target-1/2.c testcase failed with SSE3+ related options
haochen.jiang at intel dot com
gcc-bugzilla@gcc.gnu.org
Fri Jun 13 02:14:04 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120643
Bug ID: 120643
Summary: [16 Regression] r16-1429 caused
vect-pragma-target-1/2.c testcase failed with SSE3+
related options
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: haochen.jiang at intel dot com
Target Milestone: ---
For GCC built with AVX512F present platforms under --with-arch=native
For -1.c, it is causing:
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
For -2.c, it is reporting:
/export/users/haochenj/src/gcc/master/gcc/testsuite/gcc.target/i386/vect-pragma-target-1.c:61:2:
error: #error "Target flag (SSE3) is still defined"
/export/users/haochenj/src/gcc/master/gcc/testsuite/gcc.target/i386/vect-pragma-target-1.c:64:2:
error: #error "Target flag (SSSE3) is still defined"
/export/users/haochenj/src/gcc/master/gcc/testsuite/gcc.target/i386/vect-pragma-target-1.c:67:2:
error: #error "Target flag (SSE4.1) is still defined"
/export/users/haochenj/src/gcc/master/gcc/testsuite/gcc.target/i386/vect-pragma-target-1.c:70:2:
error: #error "Target flag (SSE4.2) is still defined"
/export/users/haochenj/src/gcc/master/gcc/testsuite/gcc.target/i386/vect-pragma-target-1.c:118:2:
error: #error "Target flag (SSE3) is still defined"
/export/users/haochenj/src/gcc/master/gcc/testsuite/gcc.target/i386/vect-pragma-target-1.c:121:2:
error: #error "Target flag (SSSE3) is still defined"
/export/users/haochenj/src/gcc/master/gcc/testsuite/gcc.target/i386/vect-pragma-target-1.c:124:2:
error: #error "Target flag (SSE4.1) is still defined"
/export/users/haochenj/src/gcc/master/gcc/testsuite/gcc.target/i386/vect-pragma-target-1.c:127:2:
error: #error "Target flag (SSE4.2) is still defined"
/export/users/haochenj/src/gcc/master/gcc/testsuite/gcc.target/i386/vect-pragma-target-1.c:130:2:
error: #error "Target flag (AVX) is still defined"
/export/users/haochenj/src/gcc/master/gcc/testsuite/gcc.target/i386/vect-pragma-target-1.c:133:2:
error: #error "Target flag (AVX2) is still defined"
/export/users/haochenj/src/gcc/master/gcc/testsuite/gcc.target/i386/vect-pragma-target-1.c:136:2:
error: #error "Target flag (FMA) is still defined"
...
For -2.c, simply use -mno-sse3 should help. But it leads to the output change
for scan asm
More information about the Gcc-bugs
mailing list