https://gcc.gnu.org/g:7180a0e66a838c4ccce3801a0bd4cbeb912cb2e1
commit r16-7541-g7180a0e66a838c4ccce3801a0bd4cbeb912cb2e1 Author: Rainer Orth <[email protected]> Date: Tue Feb 17 09:32:17 2026 +0100 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 <[email protected]> gcc/testsuite: * gcc.dg/ipa/pr122458.c: xfail without gas. Diff: --- gcc/testsuite/gcc.dg/ipa/pr122458.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/ipa/pr122458.c b/gcc/testsuite/gcc.dg/ipa/pr122458.c index b4ed390cea78..85f26f151752 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; };
