20010904-1.c: Align 2 if pdp11.
authorPaul Koning <ni1d@arrl.net>
Thu, 1 Nov 2018 18:59:40 +0000 (14:59 -0400)
committerPaul Koning <pkoning@gcc.gnu.org>
Thu, 1 Nov 2018 18:59:40 +0000 (14:59 -0400)
* gcc.c-torture/execute/20010904-1.c: Align 2 if pdp11.
* gcc.c-torture/execute/20010904-2.c: Ditto.
* c-c++-common/builtin-arith-overflow-2.c: Skip if pdp11.
* gcc.dg/Walloc-size-larger-than-4.c: Ditto.
* gcc.dg/Walloc-size-larger-than-5.c: Ditto.
* gcc.dg/Walloc-size-larger-than-6.c: Ditto.
* gcc.dg/Walloc-size-larger-than-7.c: Ditto.
* gcc.dg/Walloca-14.c: Ditto.
* gcc.dg/Wlarger-than3.c: Ditto.
* gcc.dg/compat/pr83487-1_y.c: Ditto.
* gcc.dg/compat/struct-by-value-2_x.c: Ditto.
* gcc.dg/compat/struct-by-value-3_x.c: Ditto.
* gcc.dg/compat/struct-by-value-4_x.c: Ditto.
* gcc.dg/compat/struct-by-value-5b_x.c: Ditto.
* gcc.dg/compat/struct-by-value-6b_x.c: Ditto.
* gcc.dg/compat/struct-by-value-7b_x.c: Ditto.
* gcc.dg/compat/struct-by-value-8_x.c: Ditto.
* gcc.dg/compat/struct-by-value-9_x.c: Ditto.
* gcc.dg/compat/struct-by-value-10_x.c: Ditto.
* gcc.dg/compat/struct-by-value-11_x.c: Ditto.
* gcc.dg/compat/struct-by-value-12_x.c: Ditto.
* gcc.dg/compat/struct-by-value-13_x.c: Ditto.
* gcc.dg/compat/struct-by-value-14_x.c: Ditto.
* gcc.dg/compat/struct-by-value-15_x.c: Ditto.
* gcc.dg/compat/struct-by-value-16_x.c: Ditto.
* gcc.dg/compat/struct-by-value-17_x.c: Ditto.
* gcc.dg/compat/struct-by-value-18_x.c: Ditto.
* gcc.dg/compat/struct-by-value-22_x.c: Ditto.
* gcc.dg/compat/struct-return-2_x.c: Ditto.
* gcc.dg/falign-labels-1.c: Ditto.
* gcc.dg/long_branch.c: Ditto.
* gcc.dg/nextafter-1.c: Ditto.
* gcc.dg/pr35045.c: Ditto.
* gcc.dg/pr48616.c: Ditto.
* gcc.dg/pr84100.c: Ditto.
* gcc.dg/tree-ssa/builtin-sprintf-9.c: Ditto.
* gcc.dg/tree-ssa/builtin-sprintf-warn-10.c: Ditto.
* gcc.dg/tree-ssa/builtin-sprintf.c: Ditto.
* gcc.dg/Wattributes-10.c: Expect error if pdp11.
* gcc.dg/attr-alloc_size-11.c: Don't XFAIL if pdp11.
* gcc.dg/builtin-inf-1.c: Add pdp11 to warnings about INF.
* gcc.dg/builtins-1.c: Ditto.

From-SVN: r265728

43 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/builtin-arith-overflow-2.c
gcc/testsuite/gcc.c-torture/execute/20010904-1.c
gcc/testsuite/gcc.c-torture/execute/20010904-2.c
gcc/testsuite/gcc.dg/Walloc-size-larger-than-4.c
gcc/testsuite/gcc.dg/Walloc-size-larger-than-5.c
gcc/testsuite/gcc.dg/Walloc-size-larger-than-6.c
gcc/testsuite/gcc.dg/Walloc-size-larger-than-7.c
gcc/testsuite/gcc.dg/Walloca-14.c
gcc/testsuite/gcc.dg/Wattributes-10.c
gcc/testsuite/gcc.dg/Wlarger-than3.c
gcc/testsuite/gcc.dg/attr-alloc_size-11.c
gcc/testsuite/gcc.dg/builtin-inf-1.c
gcc/testsuite/gcc.dg/builtins-1.c
gcc/testsuite/gcc.dg/compat/pr83487-1_y.c
gcc/testsuite/gcc.dg/compat/struct-by-value-10_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-12_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-13_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-14_x.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_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-18_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-22_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-2_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-3_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-4_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-5b_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-6b_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-7b_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-8_x.c
gcc/testsuite/gcc.dg/compat/struct-by-value-9_x.c
gcc/testsuite/gcc.dg/compat/struct-return-2_x.c
gcc/testsuite/gcc.dg/falign-labels-1.c
gcc/testsuite/gcc.dg/long_branch.c
gcc/testsuite/gcc.dg/nextafter-1.c
gcc/testsuite/gcc.dg/pr35045.c
gcc/testsuite/gcc.dg/pr48616.c
gcc/testsuite/gcc.dg/pr84100.c
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-9.c
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-10.c
gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c

index 4bdd6ac7184f880543f4f31627d12bdc15f539a3..2fd83f08bbfc97d525a9d43296c37243844002d2 100644 (file)
@@ -1,3 +1,48 @@
+2018-11-01  Paul Koning  <ni1d@arrl.net>
+
+       * gcc.c-torture/execute/20010904-1.c: Align 2 if pdp11.
+       * gcc.c-torture/execute/20010904-2.c: Ditto.
+       * c-c++-common/builtin-arith-overflow-2.c: Skip if pdp11.
+       * gcc.dg/Walloc-size-larger-than-4.c: Ditto.
+       * gcc.dg/Walloc-size-larger-than-5.c: Ditto.
+       * gcc.dg/Walloc-size-larger-than-6.c: Ditto.
+       * gcc.dg/Walloc-size-larger-than-7.c: Ditto.
+       * gcc.dg/Walloca-14.c: Ditto.
+       * gcc.dg/Wlarger-than3.c: Ditto.
+       * gcc.dg/compat/pr83487-1_y.c: Ditto.
+       * gcc.dg/compat/struct-by-value-2_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-3_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-4_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-5b_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-6b_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-7b_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-8_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-9_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-10_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-11_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-12_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-13_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-14_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-15_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-16_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-17_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-18_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-22_x.c: Ditto.
+       * gcc.dg/compat/struct-return-2_x.c: Ditto.
+       * gcc.dg/falign-labels-1.c: Ditto.
+       * gcc.dg/long_branch.c: Ditto.
+       * gcc.dg/nextafter-1.c: Ditto.
+       * gcc.dg/pr35045.c: Ditto.
+       * gcc.dg/pr48616.c: Ditto.
+       * gcc.dg/pr84100.c: Ditto.
+       * gcc.dg/tree-ssa/builtin-sprintf-9.c: Ditto.
+       * gcc.dg/tree-ssa/builtin-sprintf-warn-10.c: Ditto.
+       * gcc.dg/tree-ssa/builtin-sprintf.c: Ditto.
+       * gcc.dg/Wattributes-10.c: Expect error if pdp11.
+       * gcc.dg/attr-alloc_size-11.c: Don't XFAIL if pdp11.
+       * gcc.dg/builtin-inf-1.c: Add pdp11 to warnings about INF.
+       * gcc.dg/builtins-1.c: Ditto.
+
 2018-11-01  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        PR fortran/46020
index 7dd0e50dbcb3438dc81d9956f8047117cac77c6c..5f4db2d3743e17a2228ca637a924a58246149de5 100644 (file)
@@ -1,7 +1,7 @@
 /* PR c/68120 - can't easily deal with integer overflow at compile time */
 /* { dg-do run } */
 /* { dg-additional-options "-Wno-long-long" } */
-/* { dg-skip-if "Program too big" { "avr-*-*" } } */
+/* { dg-skip-if "Program too big" { "avr-*-* pdp11*-*-*" } } */
 
 #define SCHAR_MAX    __SCHAR_MAX__
 #define SHRT_MAX     __SHRT_MAX__
index 92b258b52025a99bd465d24b746191b16f81c8fc..cb4d759e6b87df1902525b3455ae132903fab04b 100644 (file)
@@ -1,4 +1,12 @@
-typedef struct x { int a; int b; } __attribute__((aligned(32))) X;
+/* If some target has a Max alignment less than 32, please create
+   a #ifdef around the alignment and add your alignment.  */
+#ifdef __pdp11__
+#define alignment 2
+#else
+#define alignment 32
+#endif
+
+typedef struct x { int a; int b; } __attribute__((aligned(alignment))) X;
 typedef struct y { X x[32]; int c; } Y;
 
 Y y[2];
index cbe49806c603ed2013f2214b6d2b2f617c42257b..7f3affe10fe13352161a698fde5fb1aba9cfd9a1 100644 (file)
@@ -1,4 +1,12 @@
-typedef struct x { int a; int b; } __attribute__((aligned(32))) X;
+/* If some target has a Max alignment less than 32, please create
+   a #ifdef around the alignment and add your alignment.  */
+#ifdef __pdp11__
+#define alignment 2
+#else
+#define alignment 32
+#endif
+
+typedef struct x { int a; int b; } __attribute__((aligned(aligned))) X;
 typedef struct y { X x; X y[31]; int c; } Y;
 
 Y y[2];
index e4fde5a8eb90ef49595ca14869d2665202cf9b96..4b3a64b56abbeab66e6f1443c07a8961e5c6bbec 100644 (file)
@@ -1,5 +1,6 @@
 /* PR middle-end/82063 - issues with arguments enabled by -Wall
    { dg-do compile }
+   { dg-skip-if "small address space" { "pdp11-*-*" } }
    { dg-options "-O -Walloc-size-larger-than=1MiB -ftrack-macro-expansion=0" } */
 
 void sink (void*);
index bfea259e0ad9780dad2bf1417efb2cde58454489..4217ad651102d8d56e5353c8c2e47d84bb2bb538 100644 (file)
@@ -1,5 +1,6 @@
 /* PR middle-end/82063 - issues with arguments enabled by -Wall
    { dg-do compile }
+   { dg-skip-if "small address space" { "pdp11-*-*" } }
    { dg-options "-O -Walloc-size-larger-than=1MB -ftrack-macro-expansion=0" } */
 
 void sink (void*);
index 1eb83a5f613efc19d945f631ad7a748794066ed7..a46fce7d0ca69046746ac5e9b348b9f4ccb53ec7 100644 (file)
@@ -1,5 +1,6 @@
 /* PR middle-end/82063 - issues with arguments enabled by -Wall
    { dg-do compile }
+   { dg-skip-if "small address space" { "pdp11-*-*" } }
    { dg-options "-O -Walloc-size-larger-than=1GiB -ftrack-macro-expansion=0" } */
 
 void sink (void*);
index 5188203337d36f718f7049cbb85a3ae01b936ff4..4d9aafd661e05e1a3e70288c90b04cd0428a837b 100644 (file)
@@ -1,5 +1,6 @@
 /* PR middle-end/82063 - issues with arguments enabled by -Wall
    { dg-do compile }
+   { dg-skip-if "small address space" { "pdp11-*-*" } }
    { dg-options "-O -Walloc-size-larger-than=1GB -ftrack-macro-expansion=0" } */
 
 void sink (void*);
index ea48227f7e823c798156f6c516c56ebe2b2fe75d..657402f3891afaa216cbd453c7045ac3702519e1 100644 (file)
@@ -1,6 +1,7 @@
 /* PR tree-optimization/80109 */
 /* { dg-do compile } */
 /* { dg-require-effective-target alloca } */
+/* { dg-skip-if "small address space" { "pdp11-*-*" } } */
 /* { dg-options "-O2 -Walloca-larger-than=126812070" } */
 
 void
index f88d7a2fb46a6f6687fc12a27e47c8975974ade3..37fd2c1b7552dd94aadc84d28aa1b4b7cf0c86ba 100644 (file)
@@ -12,7 +12,8 @@ struct S
 
   int* __attribute__ ((aligned (16), packed)) qaligned;   /* { dg-warning "ignoring attribute .packed. because it conflicts with attribute .aligned." } */
   int* __attribute__ ((packed, aligned (16))) qpacked;    /* { dg-warning ".packed. attribute ignored for type .int \\\*." } */
-} s;
+} s;    /* { dg-error "alignment of 's' is greater" { target pdp11*-*-* } } */
+
 
 void test (void)
 {
index b9eaa563770bf564f1175c16e273ab09b1a68dc9..ebac525ed62d05e5617131b57e4c8bea8b800a9f 100644 (file)
@@ -1,5 +1,6 @@
 /* Exercise -Wlarger-than= with a byte-size suffix.
    { dg-do compile }
+   { dg-skip-if "small address space" { "pdp11-*-*" } }
    { dg-options "-Wlarger-than=1MiB" } */
 
 #define MB (1000 * 1000)    /* MegaByte */
index 3ec44dc1463e82231a053ce352942e3c4ba6afd4..301a06fd46443bb0774e86b668b283ef25de0b98 100644 (file)
@@ -47,8 +47,8 @@ typedef __SIZE_TYPE__    size_t;
 
 /* The following tests fail because of missing range information.  The xfail
    exclusions are PR79356.  */
-TEST (signed char, SCHAR_MIN + 2, ALLOC_MAX);   /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" "missing range info for signed char" { xfail { ! { aarch64*-*-* arm*-*-* avr-*-* alpha*-*-* ia64-*-* mips*-*-* powerpc*-*-* sparc*-*-* s390*-*-* visium-*-* } } } } */
-TEST (short, SHRT_MIN + 2, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" "missing range info for short" { xfail { ! { aarch64*-*-* arm*-*-* alpha*-*-* avr-*-* ia64-*-* mips*-*-* powerpc*-*-* sparc*-*-* s390x-*-* visium-*-* } } } } */
+TEST (signed char, SCHAR_MIN + 2, ALLOC_MAX);   /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" "missing range info for signed char" { xfail { ! { aarch64*-*-* arm*-*-* avr-*-* alpha*-*-* ia64-*-* mips*-*-* pdp11*-*-* powerpc*-*-* sparc*-*-* s390*-*-* visium-*-* } } } } */
+TEST (short, SHRT_MIN + 2, ALLOC_MAX); /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" "missing range info for short" { xfail { ! { aarch64*-*-* arm*-*-* alpha*-*-* avr-*-* ia64-*-* mips*-*-* pdp11*-*-* powerpc*-*-* sparc*-*-* s390x-*-* visium-*-* } } } } */
 TEST (int, INT_MIN + 2, ALLOC_MAX);    /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" } */
 TEST (int, -3, ALLOC_MAX);             /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" } */
 TEST (int, -2, ALLOC_MAX);             /* { dg-warning "argument 1 range \\\[13, \[0-9\]+\\\] exceeds maximum object size 12" } */
index 1e00bdc07614c297bfc0d90aa7201f90971ad8ea..4b7dcd8ecb1e448765b483b3b80c1b22d673a43f 100644 (file)
@@ -1,11 +1,11 @@
 /* { dg-do compile } */
 
 float fi = __builtin_inff();
-/* { dg-error "does not support infinity" "INF unsupported" { target vax-*-* spu-*-* } .-1 } */
+/* { dg-error "does not support infinity" "INF unsupported" { target pdp11*-*-* vax-*-* spu-*-* } .-1 } */
 double di = __builtin_inf();
-/* { dg-error "does not support infinity" "INF unsupported" { target vax-*-* } .-1 } */
+/* { dg-error "does not support infinity" "INF unsupported" { target pdp11*-*-* vax-*-* } .-1 } */
 long double li = __builtin_infl();
-/* { dg-error "does not support infinity" "INF unsupported" { target vax-*-* } .-1 } */
+/* { dg-error "does not support infinity" "INF unsupported" { target pdp11*-*-* vax-*-* } .-1 } */
 
 float fh = __builtin_huge_valf();
 double dh = __builtin_huge_val();
index 5dab9fe0a4e0a410eea3f14c067430e52bc8fcca..26e8a05229a0c46a1cd8136d493eac2a834d7c27 100644 (file)
@@ -144,7 +144,7 @@ FPTEST2ARG2_REENT (gamma, int *) /* gamma_r */
 FPTEST0     (huge_val)
 FPTEST2     (hypot)
 FPTEST1     (ilogb)
-FPTEST0     (inf)  /* { dg-warning "target format does not support infinity" "inf" {target spu-*-*} } */
+FPTEST0     (inf)  /* { dg-warning "target format does not support infinity" "inf" {target pdp11*-*-* spu-*-*} } */
 FPTEST1     (j0)
 FPTEST1     (j1)
 FPTEST2ARG1 (jn, int)
index ef927bb21e50fbe9ec4b59a9914711b5abffe3fd..7b8db0ee1c8c4369fb1d1e7cae74b6ccc258d9fd 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "no large alignment" { pdp11-*-* } } */
+
 #include "pr83487-1.h"
 
 struct A a;
index 5954104aa76dea2112730b14d7015776b538ef12..c09b343885c332df49feff5e1b21343ed5b8a794 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #include "fp2-struct-defs.h"
index cea1ac09688787542024e3f16f7869d6c4e8ad6b..bbc84d0daabe203edaf03f4328feb129ca96a2ad 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index 925ce9270b9ebfa17c7fc9db89eabfb9995dad13..234112d712298eb38cb68cda93d94c617f117d27 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index f27222f2df602ca8ae7a22b87720403ff405781e..7cf149f1257a69aa6f77bc33f2ecce0a946de1cf 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index bb8db70721ebac6846d9f0c17ef2ef58321593cd..181375ff11013740f8a2e5b322c8064c6db1df88 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index 4409c9668dc11285c89cc31c021ab088ddee55be..d36ee1e7c0da352bd76b67d5edac7957a037ef62 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index 05e36fe26c0640f4d31e33f3bcb8922e80e7f984..ddec5fbc9e6be080c6664b9ffe918dfec5e0cf1c 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index 8c2704522436a6780f1a620a941b8e8379965064..782de70ca8d4aa49b3a111ded9be4cc60b0dba01 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index aa10a6e1a1a2d811b4d8a5bb514711b766fd3d21..331007351e51f82b16855b75d795a25e02ec4432 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index 6f1cdc86014dc4ef17ba33eacb9537a73c86f22f..9384c15e7d88a86d78c56a652cb79a2f82afc0ba 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #ifndef SKIP_VLA_IN_STRUCT
 
 #ifndef T
index 57c6da0c0bb08d188f547d1bbe1ef9f31ddb7c19..165744411060ca0cfa909e9b3d844169420fa218 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #define T(N, NAME, TYPE)                                       \
index 38e5b546a5b814fbe157010646d12da758b058d8..e5a43afc58cbf31874ef2701b3e1a408b2f2dcda 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #define T(TYPE)                                                        \
index def20ce8b0315d99f632793a58d22d38b3c79149..55c8bc73fa3061bf14b4f7b1b7039dfe37433ec8 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #define T(N, TYPE)                                             \
index 3c371558728d7e9b0eb554ac30632889f3f8599a..3612413422a5b2f49302f6b59180be95f71dff6c 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index 5b285c9c5b60272b9e3b0a5336df151a712513d4..68062d911cbe4cd0a619ee956268b2e09ca4c5c6 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index 508ff616584925ffddbfcf6d4d83ac10e7ffe623..587bc27709e966ff66b1c93cd9a94245ec0edfed 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #include "fp-struct-defs.h"
index 5a376fd38cfcba58cd53b168d5cf85922bdaecdf..aadba93c191c40cb3730816b12fd56bc8c01cf9c 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #define T(N, TYPE)                                             \
index 5bbef770aca6789c629cf6bb992fe8bea198a534..cf83e7d3951bbcb5b5a90c84bca19c65f956c572 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #define T(N, TYPE)                                             \
index 590c30aa937879679c6d39379b486ce51d2c6a37..34d1e64ca6fcc5f7910d85fe2a0cd1422ccf2b37 100644 (file)
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
 #include "compat-common.h"
 
 #ifdef SKIP_VA
index be277e4e04359eb91447987ea0d498dd6e980fb5..e4c61c8b1930a2abcdd9eaefb16dd837d7746d03 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-falign-labels=8" } */
+/* { dg-skip-if "no label alignment > 2" { "pdp11-*-*" } } */
 
 /* On ARMv7-A CPUs, this test resulted in incorrect code generation.
    The code generated for the switch statement expected the jump table
index f388a80c89258f847b5144af5c0ae9aabec8a933..97fb169b0431be7c397cb0b69b0b28b08aa3782d 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -fno-reorder-blocks" } */
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
 
 void abort ();
 
index 502e0f49b1ee5e2a9a9cd8c58b643c4ae5f3842d..1916ac29ad94b49c0faf4f9d0f7230fb8e10ff3c 100644 (file)
@@ -2,6 +2,7 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -fno-math-errno -fno-trapping-math -fdump-tree-optimized" } */
 /* { dg-add-options ieee } */
+/* { dg-skip-if "not IEEE float" { "pdp11-*-*" } } */
 /* { dg-final { scan-tree-dump-not "nextafter" "optimized" } } */
 /* { dg-final { scan-tree-dump-not "nexttoward" "optimized" } } */
 
index 626bde4b67b155d8e3fbe0ea62557df6e6eb33d4..9cf649393eda8a20b87c2778cd55a9c6cc4608ac 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && { ia32 && { ! nonpic } } } } */
+/* { dg-skip-if "Not enough registers" { "pdp11-*-*" } } */
 /* { dg-options "-O2 -fgcse-after-reload" } */
 
 extern void abort (void);
index 4517d79211903f26567fd5b30f122f72c07a2bde..555532c641c63251a39aafb53430647d8af71a2e 100644 (file)
@@ -2,6 +2,7 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -ftree-vectorize" } */
 /* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
+/* { dg-skip-if "no alignment > 2" { "pdp11-*-*" } } */
 
 extern void abort (void);
 int a[4] __attribute__((aligned (32)));
index 86fbc4f7a3e283833c33959333a91d8ac65aa054..fd157ac34a6a78b40458fb62fbf6f6ab4e1c9f3d 100644 (file)
@@ -1,6 +1,7 @@
 /* PR c/84100 */
 /* { dg-do compile } */
 /* { dg-options "-O2" } */
+/* { dg-skip-if "no code alignment > 2" { "pdp11-*-*" } } */
 
 void bar (void);
 
index 9090ec1ba2af4f582ef40b3861126f9926251142..b4a05bbd38af738fda1a02f5f624ebf5babaf15e 100644 (file)
@@ -1,5 +1,6 @@
 /* PR tree-optimization/86274 - SEGFAULT when logging std::to_string(NAN)
    { dg-do compile }
+   { dg-skip-if "not IEEE float layout" { "pdp11-*-*" } }
    { dg-options "-O2 -Wall -fdump-tree-optimized" }  */
 
 typedef __SIZE_TYPE__ size_t;
index 82163b28d757ad72a29c5b60c34df95277993efb..facc023da83dd7b84c4723ff88ae9df7808d1c6c 100644 (file)
@@ -3,6 +3,7 @@
    point directives.
    { dg-do compile }
    { dg-require-effective-target double64plus }
+   { dg-skip-if "not IEEE float layout" { "pdp11-*-*" } }
    { dg-options "-O2 -Wformat -Wformat-overflow -ftrack-macro-expansion=0" } */
 
 typedef __builtin_va_list va_list;
index f7e779a1e8d225c1471df91b4bdf11ef8092730b..f90558e9b7ee9905e2faadaa81357b47029f80e7 100644 (file)
@@ -4,6 +4,7 @@
    link if any of the assertions fails.  Without optimization the test
    aborts at runtime if any of the assertions fails.  */
 /* { dg-do run } */
+/* { dg-skip-if "not IEEE float layout" { "pdp11-*-*" } } */
 /* { dg-additional-options "-O2 -Wall -Wno-pedantic -fprintf-return-value" } */
 
 #ifndef LINE