https://gcc.gnu.org/g:8f725ee3ad13de751fd4eb51daaecf10059bb09b
commit r16-8542-g8f725ee3ad13de751fd4eb51daaecf10059bb09b Author: Rainer Orth <[email protected]> Date: Thu Apr 9 10:02:18 2026 +0200 testsuite: i386: Restrict gcc.target/i386/pr124759.c to Linux The new gcc.target/i386/pr124759.c test FAILs on Solaris/x86: FAIL: gcc.target/i386/pr124759.c (test for excess errors) UNRESOLVED: gcc.target/i386/pr124759.c compilation failed to produce executable With the native assembler, there's Assembler: pr124759.c "/var/tmp//cc86OTka.s", line 8 : Illegal mnemonic Near line: " endbr32" "/var/tmp//cc86OTka.s", line 8 : Syntax error Near line: " endbr32" while even with gas there's also Excess errors: cc1: warning: '-fhardened' not supported for this target Therefore this patch restricts the test to Linux, matching gcc.target/i386/fhardened-1.c. Tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu. 2026-04-09 Rainer Orth <[email protected]> gcc/testsuite: * gcc.target/i386/pr124759.c (dg-do): Restrict to Linux. Diff: --- gcc/testsuite/gcc.target/i386/pr124759.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/pr124759.c b/gcc/testsuite/gcc.target/i386/pr124759.c index b5a86b7b9bed..20bb45b55302 100644 --- a/gcc/testsuite/gcc.target/i386/pr124759.c +++ b/gcc/testsuite/gcc.target/i386/pr124759.c @@ -1,4 +1,4 @@ -/* { dg-do run { target avx_runtime } } */ +/* { dg-do run { target { avx_runtime && { *-*-linux* *-*-gnu* } } } } */ /* { dg-options "-fhardened -O3 -mavx" } */ struct a {
