]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Move gcc.dg/compat dg-skip-if to *_main.c files
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Nov 2018 19:18:31 +0000 (19:18 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Nov 2018 19:18:31 +0000 (19:18 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265755 138bc75d-0d04-0410-961f-82ee72b054a4

40 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/compat/pr83487-1_main.c
gcc/testsuite/gcc.dg/compat/pr83487-1_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-10_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-10_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-11_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-12_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-12_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-13_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-14_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-14_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-15_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-15_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-16_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-17_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-17_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-18_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-18_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-22_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-22_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-2_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-2_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-3_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-3_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-4_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-4_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-5b_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-5b_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-6b_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-6b_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-7b_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-7b_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-8_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-8_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-9_main.c
gcc/testsuite/gcc.dg/compat/struct-by-value-9_x.c
gcc/testsuite/gcc.dg/compat/struct-return-2_main.c
gcc/testsuite/gcc.dg/compat/struct-return-2_x.c

index 74fa20c45e318ade46e9fd785c526925800c5150..a4d50614537206f963b93a3e6e7404b7f92679e5 100644 (file)
@@ -1,3 +1,45 @@
+2018-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * 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  <nathan@acm.org>
 
        * g++.dg/lookup/crash6.C: Adjust error
index cd7cd94d1f777d24ce0c690b6ec92a05c331720d..a99519f843346b42bf63cb28ca27c3583a776f48 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "no large alignment" { pdp11-*-* } } */
+
 extern void do_test (void);
 
 int
index 7b8db0ee1c8c4369fb1d1e7cae74b6ccc258d9fd..ef927bb21e50fbe9ec4b59a9914711b5abffe3fd 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "no large alignment" { pdp11-*-* } } */
-
 #include "pr83487-1.h"
 
 struct A a;
index e41b93c5733d26dc470c7457db2320a980ce2e47..20a3de543c946025b94f1cadd1034260aa1ab2a8 100644 (file)
@@ -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);
index c09b343885c332df49feff5e1b21343ed5b8a794..5954104aa76dea2112730b14d7015776b538ef12 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #include "fp2-struct-defs.h"
index 400e94c2cad444a632074a94d0230f8461e1a553..31fe086168e5e2bb8bf3d8ff18b2dc7b84608767 100644 (file)
@@ -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);
index bbc84d0daabe203edaf03f4328feb129ca96a2ad..cea1ac09688787542024e3f16f7869d6c4e8ad6b 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index ab4faac09f336e1cb5a01927e209bebce8a208a5..84e27c96087aa98811eb8210c9dfc2cf4ad4a9e8 100644 (file)
@@ -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);
index 234112d712298eb38cb68cda93d94c617f117d27..925ce9270b9ebfa17c7fc9db89eabfb9995dad13 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index 41f492767e96ac48ef4b3e5b382152a7821b7a73..e91db565d1417b0889bb2dbfb5756c0c464aaa0a 100644 (file)
@@ -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);
index 7cf149f1257a69aa6f77bc33f2ecce0a946de1cf..f27222f2df602ca8ae7a22b87720403ff405781e 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index a332e93b12216a1817d19e8bc69b1479c57d8941..1a1f08fedac8c503bdf410a03d08321de2ca4a76 100644 (file)
@@ -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);
index 181375ff11013740f8a2e5b322c8064c6db1df88..bb8db70721ebac6846d9f0c17ef2ef58321593cd 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index 6e5d8e0f48ac9e4d5f1d962a742e8ab21f78827d..f571bc4b35c449820e50f2ea56338e380e2f772c 100644 (file)
@@ -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);
index d36ee1e7c0da352bd76b67d5edac7957a037ef62..4409c9668dc11285c89cc31c021ab088ddee55be 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index ddec5fbc9e6be080c6664b9ffe918dfec5e0cf1c..05e36fe26c0640f4d31e33f3bcb8922e80e7f984 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index 42616ee7b118ff82fe2ae34fe88614666f2f5692..048414239fcc2e406e01011af35b379d5f9f466e 100644 (file)
@@ -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);
index 782de70ca8d4aa49b3a111ded9be4cc60b0dba01..8c2704522436a6780f1a620a941b8e8379965064 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index 9bb19b33be476708c79bb958998eb2671d60d3ec..59d8fb61283bce18022641b47e573062c7ed0d32 100644 (file)
@@ -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);
index 331007351e51f82b16855b75d795a25e02ec4432..aa10a6e1a1a2d811b4d8a5bb514711b766fd3d21 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index db6ab56ab7d5ec205dc2a2fdb121cb8f8b217830..4a3851242e08c2de249e38aaf641d139c48d285d 100644 (file)
@@ -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
index 9384c15e7d88a86d78c56a652cb79a2f82afc0ba..6f1cdc86014dc4ef17ba33eacb9537a73c86f22f 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #ifndef SKIP_VLA_IN_STRUCT
 
 #ifndef T
index 8cb6fc078289de75dabf785c2f9e816d48fa9cc3..6d9856e7a73446b64b493e0247c9e5f6b428c3f5 100644 (file)
@@ -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);
index 165744411060ca0cfa909e9b3d844169420fa218..57c6da0c0bb08d188f547d1bbe1ef9f31ddb7c19 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #define T(N, NAME, TYPE)                                       \
index 0b720689531c2bc1ccc29375ac9b2a32e0e7d010..146a426c20cc3d970ada01fe9d4808b5044e09e8 100644 (file)
@@ -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);
index e5a43afc58cbf31874ef2701b3e1a408b2f2dcda..38e5b546a5b814fbe157010646d12da758b058d8 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #define T(TYPE)                                                        \
index 570eddc5d5e104404df8e8896c4502a50c4a9822..0a07d08d317d120599b043de5bc90b383bc7188c 100644 (file)
@@ -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);
index 55c8bc73fa3061bf14b4f7b1b7039dfe37433ec8..def20ce8b0315d99f632793a58d22d38b3c79149 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #define T(N, TYPE)                                             \
index dcb5f27ed09921b4c4f2522204401089d11a85bd..111bd13a446bdab80d1b5b752d5f37281b4ddf07 100644 (file)
@@ -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);
index 3612413422a5b2f49302f6b59180be95f71dff6c..3c371558728d7e9b0eb554ac30632889f3f8599a 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index ff17221718f04c6eca90c09dbb21a791dc666fd0..9699b722e830def6cfa011909e79dda9b9896f0f 100644 (file)
@@ -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);
index 68062d911cbe4cd0a619ee956268b2e09ca4c5c6..5b285c9c5b60272b9e3b0a5336df151a712513d4 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index 5d6908bfc1fe0ad95dc09449c3703b62b123e4db..c9bf7381726e66f6bcdd8d3a6b7084d809ff327c 100644 (file)
@@ -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);
index 587bc27709e966ff66b1c93cd9a94245ec0edfed..508ff616584925ffddbfcf6d4d83ac10e7ffe623 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index cc094fcc9ad39c9d258b788ed3baca164dd773f5..9c134b93f14f6e5dfd460937c53c9a9d9b2b6b84 100644 (file)
@@ -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);
index aadba93c191c40cb3730816b12fd56bc8c01cf9c..5a376fd38cfcba58cd53b168d5cf85922bdaecdf 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #define T(N, TYPE)                                             \
index 942de1355083a6ffe908e5b2dd7bdfa7d165721d..137ca1905cd84ec86159b14dbcadc6b755ea9105 100644 (file)
@@ -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);
index cf83e7d3951bbcb5b5a90c84bca19c65f956c572..5bbef770aca6789c629cf6bb992fe8bea198a534 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #define T(N, TYPE)                                             \
index 22a1f6ef7c89c36884fa98a58e9bdc18e9fb1f88..c0dec1cc30bfd8ec47122695d1871edd67f7726d 100644 (file)
@@ -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);
index 34d1e64ca6fcc5f7910d85fe2a0cd1422ccf2b37..590c30aa937879679c6d39379b486ce51d2c6a37 100644 (file)
@@ -1,5 +1,3 @@
-/* { dg-skip-if "limited code space" { pdp11-*-* } } */
-
 #include "compat-common.h"
 
 #ifdef SKIP_VA