From: Rainer Orth Date: Tue, 16 Dec 2025 12:02:04 +0000 (+0100) Subject: testsuite: i386: Skip gcc.target/i386/shift-gf2p8affine-2.c on Solaris with as X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13b9564e8ffca44279cd5e4877048a95fcebf8f4;p=thirdparty%2Fgcc.git testsuite: i386: Skip gcc.target/i386/shift-gf2p8affine-2.c on Solaris with as The gcc.target/i386/shift-gf2p8affine-2.c test FAILs on Solaris with the native assembler: FAIL: gcc.target/i386/shift-gf2p8affine-2.c (test for excess errors) UNRESOLVED: gcc.target/i386/shift-gf2p8affine-2.c compilation failed to produce executable Excess errors: Assembler: shift-gf2p8affine-2.c "/var/tmp//ccZMQ1Ad.s", line 30 : Illegal mnemonic Near line: " vgf2p8affineqb $0, %zmm1, %zmm0, %zmm0" "/var/tmp//ccZMQ1Ad.s", line 30 : Syntax error Thus this patch only runs the test when gas is in use. Tested on i386-pc-solaris2.11 (as and gas) and x86_64-pc-linux-gnu. 2025-12-15 Rainer Orth gcc/testsuite: * gcc.target/i386/shift-gf2p8affine-2.c: Skip on Solaris without gas. --- diff --git a/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c b/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c index c46af84bdcc..b20eedc0818 100644 --- a/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c +++ b/gcc/testsuite/gcc.target/i386/shift-gf2p8affine-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-mgfni -mavx512vl -mavx512bw -mavx512f -O3 -Wno-shift-count-negative -march=x86-64 -mtune=generic" } */ +/* { dg-skip-if "Assembler support missing" { *-*-solaris2.* && { ! gas } } } */ #include