From dddc07b4932a3b6e720cf32f0ff2ec2be356a8be Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sat, 8 May 2021 09:49:38 +0200 Subject: [PATCH] Remove obsolete gcc.dg/sso-9.c gcc/testsuite/ * gcc.dg/sso-9.c: Delete. --- gcc/testsuite/gcc.dg/sso-9.c | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 gcc/testsuite/gcc.dg/sso-9.c diff --git a/gcc/testsuite/gcc.dg/sso-9.c b/gcc/testsuite/gcc.dg/sso-9.c deleted file mode 100644 index 765f16ad9ce..00000000000 --- a/gcc/testsuite/gcc.dg/sso-9.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Test support of scalar_storage_order attribute */ - -/* { dg-do compile } */ - -#include - -int x; - -#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ -struct __attribute__((scalar_storage_order("big-endian"))) Rec -{ - va_list v; -}; -#else -struct __attribute__((scalar_storage_order("little-endian"))) Rec -{ - va_list v; -}; -#endif - -void foo (int i, ...) -{ - struct Rec a; - va_start (a.v, i); - a.v = 0, x = va_arg (a.v, int); /* { dg-error "type|reverse storage order" } */ - va_end (a.v); -}