]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: i386: xfail gcc.dg/ipa/pr122458.c without gas
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 17 Feb 2026 08:32:17 +0000 (09:32 +0100)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 17 Feb 2026 08:32:17 +0000 (09:32 +0100)
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.

gcc/testsuite/gcc.dg/ipa/pr122458.c

index b4ed390cea783f85a4adcf211b08d569f796f500..85f26f151752a9a27abac0bacea5e872605ffcee 100644 (file)
@@ -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; };