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