From 5487daffa612c8fbe284e4f627aa6e5207ae22e3 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Fri, 2 Feb 2024 10:06:01 +0100 Subject: testsuite: i386: Restrict gcc.target/i386/pr80569.c to gas gcc.target/i386/pr80569.c FAILs on Solaris/x86 with the native assembler: FAIL: gcc.target/i386/pr80569.c (test for excess errors) Excess errors: Assembler: pr80569.c "/var/tmp//ccm4_iqb.s", line 2 : Illegal mnemonic Near line: " .code16gcc" "/var/tmp//ccm4_iqb.s", line 2 : Syntax error Near line: " .code16gcc" .code16gcc is a gas extension, so restrict the test to gas. Tested on i386-pc-solaris2.11 (as and gas) and i686-pc-linux-gnu. 2024-02-01 Rainer Orth gcc/testsuite: * gcc.target/i386/pr80569.c: Require gas. --- gcc/testsuite/gcc.target/i386/pr80569.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc') diff --git a/gcc/testsuite/gcc.target/i386/pr80569.c b/gcc/testsuite/gcc.target/i386/pr80569.c index 8e11c40..8314bc1 100644 --- a/gcc/testsuite/gcc.target/i386/pr80569.c +++ b/gcc/testsuite/gcc.target/i386/pr80569.c @@ -1,6 +1,8 @@ /* PR target/80569 */ /* { dg-do assemble } */ /* { dg-options "-O2 -m16 -march=haswell" } */ +/* Non-gas assemblers choke on .code16gcc. */ +/* { dg-require-effective-target gas } */ void load_kernel(void *setup_addr) { -- cgit v1.1