From: Rainer Orth Date: Tue, 17 Feb 2026 08:32:17 +0000 (+0100) Subject: testsuite: i386: xfail gcc.dg/ipa/pr122458.c without gas X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7180a0e66a838c4ccce3801a0bd4cbeb912cb2e1;p=thirdparty%2Fgcc.git testsuite: i386: xfail gcc.dg/ipa/pr122458.c without gas The gcc.dg/ipa/pr122458.c test FAILs on Solaris with the native assembler: FAIL: gcc.dg/ipa/pr122458.c (test for excess errors) Excess errors: Assembler: pr122458.c "/var/tmp//cctINwTd.s", line 4 : Illegal mnemonic Near line: " .dc.a foo" "/var/tmp//cctINwTd.s", line 4 : Syntax error Near line: " .dc.a foo" Given that .dc.a is a gas extension, this patch xfail's the patch without gas. Tested on i386-pc-solaris2.11 and sparc-sun-solaris2.11 (as and gas), and x86_64-pc-linux-gnu. 2026-02-16 Rainer Orth gcc/testsuite: * gcc.dg/ipa/pr122458.c: xfail without gas. --- diff --git a/gcc/testsuite/gcc.dg/ipa/pr122458.c b/gcc/testsuite/gcc.dg/ipa/pr122458.c index b4ed390cea7..85f26f15175 100644 --- a/gcc/testsuite/gcc.dg/ipa/pr122458.c +++ b/gcc/testsuite/gcc.dg/ipa/pr122458.c @@ -1,6 +1,7 @@ /* PR ipa/122458 */ /* { dg-do link } */ /* { dg-options "-O2" } */ +/* { dg-xfail-if ".dc.a is a gas extension" { ! gas } } */ static int foo (void) { return 0; };