From f5d473841a89da03d8184e9e8ba286a74e9ef660 Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Fri, 3 May 2019 01:22:56 +0000 Subject: gcc.target/i386: skip 16bit tests when -msave-args --- gcc/testsuite/gcc.target/i386/pr78691-i386.c | 1 + gcc/testsuite/gcc.target/i386/pr80569.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/i386/pr78691-i386.c b/gcc/testsuite/gcc.target/i386/pr78691-i386.c index f4b88559bc3e..5f8c91bc370b 100644 --- a/gcc/testsuite/gcc.target/i386/pr78691-i386.c +++ b/gcc/testsuite/gcc.target/i386/pr78691-i386.c @@ -1,5 +1,6 @@ /* PR tree-optimization/78691 */ /* { dg-options "-Os -m16" } */ +/* { dg-skip-if "" { *-*-* } "-msave-args" "" } */ int fn1(char *p1, char *p2) { int a; diff --git a/gcc/testsuite/gcc.target/i386/pr80569.c b/gcc/testsuite/gcc.target/i386/pr80569.c index 8314bc128ec5..92a86380f781 100644 --- a/gcc/testsuite/gcc.target/i386/pr80569.c +++ b/gcc/testsuite/gcc.target/i386/pr80569.c @@ -1,8 +1,7 @@ /* PR target/80569 */ /* { dg-do assemble } */ /* { dg-options "-O2 -m16 -march=haswell" } */ -/* Non-gas assemblers choke on .code16gcc. */ -/* { dg-require-effective-target gas } */ +/* { dg-skip-if "" { *-*-* } "-msave-args" "" } */ void load_kernel(void *setup_addr) {