From 361420eec59f0456ff63ab15ea87c738a7c42ba8 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Fri, 2 Nov 2018 19:18:31 +0000 Subject: [PATCH] Move gcc.dg/compat dg-skip-if to *_main.c files * gcc.dg/compat/pr83487-1_y.c: Move dg-skip-if ... * gcc.dg/compat/pr83487-1_main.c: ... here. * gcc.dg/compat/struct-by-value-10_main.c, gcc.dg/compat/struct-by-value-10_x.c, gcc.dg/compat/struct-by-value-11_main.c, gcc.dg/compat/struct-by-value-11_x.c, gcc.dg/compat/struct-by-value-12_main.c, gcc.dg/compat/struct-by-value-12_x.c, gcc.dg/compat/struct-by-value-13_main.c, gcc.dg/compat/struct-by-value-13_x.c, gcc.dg/compat/struct-by-value-14_main.c, gcc.dg/compat/struct-by-value-14_x.c, gcc.dg/compat/struct-by-value-15_main.c, gcc.dg/compat/struct-by-value-15_x.c, gcc.dg/compat/struct-by-value-17_main.c, gcc.dg/compat/struct-by-value-17_x.c, gcc.dg/compat/struct-by-value-18_main.c, gcc.dg/compat/struct-by-value-18_x.c, gcc.dg/compat/struct-by-value-2_main.c, gcc.dg/compat/struct-by-value-2_x.c, gcc.dg/compat/struct-by-value-22_main.c, gcc.dg/compat/struct-by-value-22_x.c, gcc.dg/compat/struct-by-value-3_main.c, gcc.dg/compat/struct-by-value-3_x.c, gcc.dg/compat/struct-by-value-4_main.c, gcc.dg/compat/struct-by-value-4_x.c, gcc.dg/compat/struct-by-value-5b_main.c, gcc.dg/compat/struct-by-value-5b_x.c, gcc.dg/compat/struct-by-value-6b_main.c, gcc.dg/compat/struct-by-value-6b_x.c, gcc.dg/compat/struct-by-value-6b_main.c, gcc.dg/compat/struct-by-value-7b_x.c, gcc.dg/compat/struct-by-value-7b_main.c, gcc.dg/compat/struct-by-value-8_main.c, gcc.dg/compat/struct-by-value-8_x.c, gcc.dg/compat/struct-by-value-9_main.c, gcc.dg/compat/struct-by-value-9_x.c, gcc.dg/compat/struct-return-2_main.c, gcc.dg/compat/struct-return-2_x.c: Likewise. From-SVN: r265755 --- gcc/testsuite/ChangeLog | 42 +++++++++++++++++++ gcc/testsuite/gcc.dg/compat/pr83487-1_main.c | 2 + gcc/testsuite/gcc.dg/compat/pr83487-1_y.c | 2 - .../gcc.dg/compat/struct-by-value-10_main.c | 1 + .../gcc.dg/compat/struct-by-value-10_x.c | 2 - .../gcc.dg/compat/struct-by-value-11_main.c | 1 + .../gcc.dg/compat/struct-by-value-11_x.c | 2 - .../gcc.dg/compat/struct-by-value-12_main.c | 1 + .../gcc.dg/compat/struct-by-value-12_x.c | 2 - .../gcc.dg/compat/struct-by-value-13_main.c | 1 + .../gcc.dg/compat/struct-by-value-13_x.c | 2 - .../gcc.dg/compat/struct-by-value-14_main.c | 1 + .../gcc.dg/compat/struct-by-value-14_x.c | 2 - .../gcc.dg/compat/struct-by-value-15_main.c | 1 + .../gcc.dg/compat/struct-by-value-15_x.c | 2 - .../gcc.dg/compat/struct-by-value-16_x.c | 2 - .../gcc.dg/compat/struct-by-value-17_main.c | 1 + .../gcc.dg/compat/struct-by-value-17_x.c | 2 - .../gcc.dg/compat/struct-by-value-18_main.c | 1 + .../gcc.dg/compat/struct-by-value-18_x.c | 2 - .../gcc.dg/compat/struct-by-value-22_main.c | 2 + .../gcc.dg/compat/struct-by-value-22_x.c | 2 - .../gcc.dg/compat/struct-by-value-2_main.c | 1 + .../gcc.dg/compat/struct-by-value-2_x.c | 2 - .../gcc.dg/compat/struct-by-value-3_main.c | 1 + .../gcc.dg/compat/struct-by-value-3_x.c | 2 - .../gcc.dg/compat/struct-by-value-4_main.c | 1 + .../gcc.dg/compat/struct-by-value-4_x.c | 2 - .../gcc.dg/compat/struct-by-value-5b_main.c | 1 + .../gcc.dg/compat/struct-by-value-5b_x.c | 2 - .../gcc.dg/compat/struct-by-value-6b_main.c | 1 + .../gcc.dg/compat/struct-by-value-6b_x.c | 2 - .../gcc.dg/compat/struct-by-value-7b_main.c | 1 + .../gcc.dg/compat/struct-by-value-7b_x.c | 2 - .../gcc.dg/compat/struct-by-value-8_main.c | 1 + .../gcc.dg/compat/struct-by-value-8_x.c | 2 - .../gcc.dg/compat/struct-by-value-9_main.c | 1 + .../gcc.dg/compat/struct-by-value-9_x.c | 2 - .../gcc.dg/compat/struct-return-2_main.c | 1 + .../gcc.dg/compat/struct-return-2_x.c | 2 - 40 files changed, 63 insertions(+), 40 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 74fa20c45e3..a4d50614537 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,45 @@ +2018-11-02 Rainer Orth + + * gcc.dg/compat/pr83487-1_y.c: Move dg-skip-if ... + * gcc.dg/compat/pr83487-1_main.c: ... here. + * gcc.dg/compat/struct-by-value-10_main.c, + gcc.dg/compat/struct-by-value-10_x.c, + gcc.dg/compat/struct-by-value-11_main.c, + gcc.dg/compat/struct-by-value-11_x.c, + gcc.dg/compat/struct-by-value-12_main.c, + gcc.dg/compat/struct-by-value-12_x.c, + gcc.dg/compat/struct-by-value-13_main.c, + gcc.dg/compat/struct-by-value-13_x.c, + gcc.dg/compat/struct-by-value-14_main.c, + gcc.dg/compat/struct-by-value-14_x.c, + gcc.dg/compat/struct-by-value-15_main.c, + gcc.dg/compat/struct-by-value-15_x.c, + gcc.dg/compat/struct-by-value-17_main.c, + gcc.dg/compat/struct-by-value-17_x.c, + gcc.dg/compat/struct-by-value-18_main.c, + gcc.dg/compat/struct-by-value-18_x.c, + gcc.dg/compat/struct-by-value-2_main.c, + gcc.dg/compat/struct-by-value-2_x.c, + gcc.dg/compat/struct-by-value-22_main.c, + gcc.dg/compat/struct-by-value-22_x.c, + gcc.dg/compat/struct-by-value-3_main.c, + gcc.dg/compat/struct-by-value-3_x.c, + gcc.dg/compat/struct-by-value-4_main.c, + gcc.dg/compat/struct-by-value-4_x.c, + gcc.dg/compat/struct-by-value-5b_main.c, + gcc.dg/compat/struct-by-value-5b_x.c, + gcc.dg/compat/struct-by-value-6b_main.c, + gcc.dg/compat/struct-by-value-6b_x.c, + gcc.dg/compat/struct-by-value-6b_main.c, + gcc.dg/compat/struct-by-value-7b_x.c, + gcc.dg/compat/struct-by-value-7b_main.c, + gcc.dg/compat/struct-by-value-8_main.c, + gcc.dg/compat/struct-by-value-8_x.c, + gcc.dg/compat/struct-by-value-9_main.c, + gcc.dg/compat/struct-by-value-9_x.c, + gcc.dg/compat/struct-return-2_main.c, + gcc.dg/compat/struct-return-2_x.c: Likewise. + 2018-11-02 Nathan Sidwell * g++.dg/lookup/crash6.C: Adjust error diff --git a/gcc/testsuite/gcc.dg/compat/pr83487-1_main.c b/gcc/testsuite/gcc.dg/compat/pr83487-1_main.c index cd7cd94d1f7..a99519f8433 100644 --- a/gcc/testsuite/gcc.dg/compat/pr83487-1_main.c +++ b/gcc/testsuite/gcc.dg/compat/pr83487-1_main.c @@ -1,3 +1,5 @@ +/* { dg-skip-if "no large alignment" { pdp11-*-* } } */ + extern void do_test (void); int diff --git a/gcc/testsuite/gcc.dg/compat/pr83487-1_y.c b/gcc/testsuite/gcc.dg/compat/pr83487-1_y.c index 7b8db0ee1c8..ef927bb21e5 100644 --- a/gcc/testsuite/gcc.dg/compat/pr83487-1_y.c +++ b/gcc/testsuite/gcc.dg/compat/pr83487-1_y.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "no large alignment" { pdp11-*-* } } */ - #include "pr83487-1.h" struct A a; diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-10_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-10_main.c index e41b93c5733..20a3de543c9 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-10_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-10_main.c @@ -1,6 +1,7 @@ /* Test structures passed by value, including to a function with a variable-length argument lists. All struct members are floating point scalars. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_10_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-10_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-10_x.c index c09b343885c..5954104aa76 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-10_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-10_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #include "fp2-struct-defs.h" diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-11_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-11_main.c index 400e94c2cad..31fe086168e 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-11_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-11_main.c @@ -1,6 +1,7 @@ /* Test structures passed by value, including to a function with a variable-length argument lists. All struct members are of type _Complex char. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_11_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c index bbc84d0daab..cea1ac09688 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #include "fp-struct-defs.h" diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-12_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-12_main.c index ab4faac09f3..84e27c96087 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-12_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-12_main.c @@ -1,6 +1,7 @@ /* Test structures passed by value, including to a function with a variable-length argument lists. All struct members are of type _Complex short. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_12_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-12_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-12_x.c index 234112d7122..925ce9270b9 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-12_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-12_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #include "fp-struct-defs.h" diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c index 41f492767e9..e91db565d14 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c @@ -1,6 +1,7 @@ /* Test structures passed by value, including to a function with a variable-length argument lists. All struct members are type _Complex int. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_13_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-13_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-13_x.c index 7cf149f1257..f27222f2df6 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-13_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-13_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #include "fp-struct-defs.h" diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-14_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-14_main.c index a332e93b122..1a1f08fedac 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-14_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-14_main.c @@ -1,6 +1,7 @@ /* Test structures passed by value, including to a function with a variable-length argument lists. All struct members are of type _Complex long. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_14_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-14_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-14_x.c index 181375ff110..bb8db70721e 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-14_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-14_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #include "fp-struct-defs.h" diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-15_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-15_main.c index 6e5d8e0f48a..f571bc4b35c 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-15_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-15_main.c @@ -1,6 +1,7 @@ /* Test structures passed by value, including to a function with a variable-length argument lists. All struct members are of type _Complex long long. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_15_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-15_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-15_x.c index d36ee1e7c0d..4409c9668dc 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-15_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-15_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #include "fp-struct-defs.h" diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-16_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-16_x.c index ddec5fbc9e6..05e36fe26c0 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-16_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-16_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #include "fp-struct-defs.h" diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-17_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-17_main.c index 42616ee7b11..048414239fc 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-17_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-17_main.c @@ -2,6 +2,7 @@ variable-length argument lists. All struct members are of type _Complex double. */ /* { dg-skip-if "Program too big" { "avr-*-*" } } */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_17_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-17_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-17_x.c index 782de70ca8d..8c270452243 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-17_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-17_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #include "fp-struct-defs.h" diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-18_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-18_main.c index 9bb19b33be4..59d8fb61283 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-18_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-18_main.c @@ -2,6 +2,7 @@ variable-length argument lists. All struct members are of type _Complex long double. */ /* { dg-skip-if "Program too big" { "avr-*-*" } } */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_18_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-18_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-18_x.c index 331007351e5..aa10a6e1a1a 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-18_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-18_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #include "fp-struct-defs.h" diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-22_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-22_main.c index db6ab56ab7d..4a3851242e0 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-22_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-22_main.c @@ -1,4 +1,6 @@ /* { dg-require-effective-target alloca } */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ + /* Test variable sized function argument passing. GCC 3.2 and earlier is incompatible with GCC 3.3+ on x86-64, the latter passes variable sized arguments by reference while diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-22_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-22_x.c index 9384c15e7d8..6f1cdc86014 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-22_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-22_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #ifndef SKIP_VLA_IN_STRUCT #ifndef T diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-2_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-2_main.c index 8cb6fc07828..6d9856e7a73 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-2_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-2_main.c @@ -1,6 +1,7 @@ /* Test structures passed by value, including to a function with a variable-length argument list. This test is based on one contributed by Alan Modra. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_2_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-2_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-2_x.c index 16574441106..57c6da0c0bb 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-2_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-2_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #define T(N, NAME, TYPE) \ diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-3_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-3_main.c index 0b720689531..146a426c20c 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-3_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-3_main.c @@ -2,6 +2,7 @@ variable-length argument list. All struct members are scalar integral types, and the structs are "small": 1, 2, 4, 8, and 12 bytes for LP64. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_3_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-3_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-3_x.c index e5a43afc58c..38e5b546a5b 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-3_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-3_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #define T(TYPE) \ diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-4_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-4_main.c index 570eddc5d5e..0a07d08d317 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-4_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-4_main.c @@ -1,6 +1,7 @@ /* Test structures passed by value, including to a function with a variable-length argument list. Each struct contains an array of small structs with a single member. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_4_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-4_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-4_x.c index 55c8bc73fa3..def20ce8b03 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-4_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-4_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #define T(N, TYPE) \ diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-5b_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-5b_main.c index dcb5f27ed09..111bd13a446 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-5b_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-5b_main.c @@ -1,6 +1,7 @@ /* Test structures passed by value, including to a function with a variable-length argument lists. All struct members are float scalars. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_5b_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-5b_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-5b_x.c index 3612413422a..3c371558728 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-5b_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-5b_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #include "fp-struct-defs.h" diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-6b_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-6b_main.c index ff17221718f..9699b722e83 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-6b_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-6b_main.c @@ -1,6 +1,7 @@ /* Test structures passed by value, including to a function with a variable-length argument lists. All struct members are double scalars. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_6b_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-6b_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-6b_x.c index 68062d911cb..5b285c9c5b6 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-6b_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-6b_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #include "fp-struct-defs.h" diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-7b_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-7b_main.c index 5d6908bfc1f..c9bf7381726 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-7b_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-7b_main.c @@ -1,6 +1,7 @@ /* Test structures passed by value, including to a function with a variable-length argument lists. All struct members are long double scalars. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_7b_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-7b_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-7b_x.c index 587bc27709e..508ff616584 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-7b_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-7b_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #include "fp-struct-defs.h" diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-8_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-8_main.c index cc094fcc9ad..9c134b93f14 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-8_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-8_main.c @@ -1,6 +1,7 @@ /* Test structures passed by value, including to a function with a variable-length argument list. Each struct contains an array of small structs with two scalar members. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_8_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-8_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-8_x.c index aadba93c191..5a376fd38cf 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-8_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-8_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #define T(N, TYPE) \ diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-9_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-9_main.c index 942de135508..137ca1905cd 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-9_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-9_main.c @@ -1,6 +1,7 @@ /* Test structures passed by value, including to a function with a variable-length argument list. Each struct contains an array of small structs, each with three scalar members. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_by_value_9_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-9_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-9_x.c index cf83e7d3951..5bbef770aca 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-by-value-9_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-9_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #define T(N, TYPE) \ diff --git a/gcc/testsuite/gcc.dg/compat/struct-return-2_main.c b/gcc/testsuite/gcc.dg/compat/struct-return-2_main.c index 22a1f6ef7c8..c0dec1cc30b 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-return-2_main.c +++ b/gcc/testsuite/gcc.dg/compat/struct-return-2_main.c @@ -1,5 +1,6 @@ /* Test function return values. This test includes structs that are arrays of unsigned integral scalars. */ +/* { dg-skip-if "limited code space" { pdp11-*-* } } */ extern void struct_return_2_x (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/compat/struct-return-2_x.c b/gcc/testsuite/gcc.dg/compat/struct-return-2_x.c index 34d1e64ca6f..590c30aa937 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-return-2_x.c +++ b/gcc/testsuite/gcc.dg/compat/struct-return-2_x.c @@ -1,5 +1,3 @@ -/* { dg-skip-if "limited code space" { pdp11-*-* } } */ - #include "compat-common.h" #ifdef SKIP_VA -- 2.30.2