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 <ro@CeBiTec.Uni-Bielefeld.DE>
gcc/testsuite:
* gcc.dg/ipa/pr122458.c: xfail without gas.
/* 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; };