aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaul Koning <ni1d@arrl.net>2018-11-01 14:59:40 -0400
committerPaul Koning <pkoning@gcc.gnu.org>2018-11-01 14:59:40 -0400
commitda06a0e93f5067d32144beb67b3453e865b9394d (patch)
treea0b6ea0e069305ec94c06179988ea2fed1a359d9 /gcc
parentc92e96fa1a5289dfe4cd493d25bd952a66e2b634 (diff)
downloadgcc-da06a0e93f5067d32144beb67b3453e865b9394d.zip
gcc-da06a0e93f5067d32144beb67b3453e865b9394d.tar.gz
gcc-da06a0e93f5067d32144beb67b3453e865b9394d.tar.bz2
20010904-1.c: Align 2 if pdp11.
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog45
-rw-r--r--gcc/testsuite/c-c++-common/builtin-arith-overflow-2.c2
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/20010904-1.c10
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/20010904-2.c10
-rw-r--r--gcc/testsuite/gcc.dg/Walloc-size-larger-than-4.c1
-rw-r--r--gcc/testsuite/gcc.dg/Walloc-size-larger-than-5.c1
-rw-r--r--gcc/testsuite/gcc.dg/Walloc-size-larger-than-6.c1
-rw-r--r--gcc/testsuite/gcc.dg/Walloc-size-larger-than-7.c1
-rw-r--r--gcc/testsuite/gcc.dg/Walloca-14.c1
-rw-r--r--gcc/testsuite/gcc.dg/Wattributes-10.c3
-rw-r--r--gcc/testsuite/gcc.dg/Wlarger-than3.c1
-rw-r--r--gcc/testsuite/gcc.dg/attr-alloc_size-11.c4
-rw-r--r--gcc/testsuite/gcc.dg/builtin-inf-1.c6
-rw-r--r--gcc/testsuite/gcc.dg/builtins-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/pr83487-1_y.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-10_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-12_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-13_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-14_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-15_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-16_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-17_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-18_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-22_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-2_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-3_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-4_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-5b_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-6b_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-7b_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-8_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-9_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-return-2_x.c2
-rw-r--r--gcc/testsuite/gcc.dg/falign-labels-1.c1
-rw-r--r--gcc/testsuite/gcc.dg/long_branch.c1
-rw-r--r--gcc/testsuite/gcc.dg/nextafter-1.c1
-rw-r--r--gcc/testsuite/gcc.dg/pr35045.c1
-rw-r--r--gcc/testsuite/gcc.dg/pr48616.c1
-rw-r--r--gcc/testsuite/gcc.dg/pr84100.c1
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-9.c1
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-10.c1
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c1
43 files changed, 127 insertions, 10 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 4bdd6ac..2fd83f0 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/c-c++-common/builtin-arith-overflow-2.c b/gcc/testsuite/c-c++-common/builtin-arith-overflow-2.c
index 7dd0e50..5f4db2d 100644
--- a/gcc/testsuite/c-c++-common/builtin-arith-overflow-2.c
+++ b/gcc/testsuite/c-c++-common/builtin-arith-overflow-2.c
@@ -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__
diff --git a/gcc/testsuite/gcc.c-torture/execute/20010904-1.c b/gcc/testsuite/gcc.c-torture/execute/20010904-1.c
index 92b258b..cb4d759 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20010904-1.c
+++ b/gcc/testsuite/gcc.c-torture/execute/20010904-1.c
@@ -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];
diff --git a/gcc/testsuite/gcc.c-torture/execute/20010904-2.c b/gcc/testsuite/gcc.c-torture/execute/20010904-2.c
index cbe4980..7f3affe 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20010904-2.c
+++ b/gcc/testsuite/gcc.c-torture/execute/20010904-2.c
@@ -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];
diff --git a/gcc/testsuite/gcc.dg/Walloc-size-larger-than-4.c b/gcc/testsuite/gcc.dg/Walloc-size-larger-than-4.c
index e4fde5a..4b3a64b 100644
--- a/gcc/testsuite/gcc.dg/Walloc-size-larger-than-4.c
+++ b/gcc/testsuite/gcc.dg/Walloc-size-larger-than-4.c
@@ -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*);
diff --git a/gcc/testsuite/gcc.dg/Walloc-size-larger-than-5.c b/gcc/testsuite/gcc.dg/Walloc-size-larger-than-5.c
index bfea259..4217ad6 100644
--- a/gcc/testsuite/gcc.dg/Walloc-size-larger-than-5.c
+++ b/gcc/testsuite/gcc.dg/Walloc-size-larger-than-5.c
@@ -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*);
diff --git a/gcc/testsuite/gcc.dg/Walloc-size-larger-than-6.c b/gcc/testsuite/gcc.dg/Walloc-size-larger-than-6.c
index 1eb83a5..a46fce7 100644
--- a/gcc/testsuite/gcc.dg/Walloc-size-larger-than-6.c
+++ b/gcc/testsuite/gcc.dg/Walloc-size-larger-than-6.c
@@ -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*);
diff --git a/gcc/testsuite/gcc.dg/Walloc-size-larger-than-7.c b/gcc/testsuite/gcc.dg/Walloc-size-larger-than-7.c
index 5188203..4d9aafd 100644
--- a/gcc/testsuite/gcc.dg/Walloc-size-larger-than-7.c
+++ b/gcc/testsuite/gcc.dg/Walloc-size-larger-than-7.c
@@ -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*);
diff --git a/gcc/testsuite/gcc.dg/Walloca-14.c b/gcc/testsuite/gcc.dg/Walloca-14.c
index ea48227..657402f 100644
--- a/gcc/testsuite/gcc.dg/Walloca-14.c
+++ b/gcc/testsuite/gcc.dg/Walloca-14.c
@@ -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
diff --git a/gcc/testsuite/gcc.dg/Wattributes-10.c b/gcc/testsuite/gcc.dg/Wattributes-10.c
index f88d7a2..37fd2c1 100644
--- a/gcc/testsuite/gcc.dg/Wattributes-10.c
+++ b/gcc/testsuite/gcc.dg/Wattributes-10.c
@@ -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)
{
diff --git a/gcc/testsuite/gcc.dg/Wlarger-than3.c b/gcc/testsuite/gcc.dg/Wlarger-than3.c
index b9eaa56..ebac525 100644
--- a/gcc/testsuite/gcc.dg/Wlarger-than3.c
+++ b/gcc/testsuite/gcc.dg/Wlarger-than3.c
@@ -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 */
diff --git a/gcc/testsuite/gcc.dg/attr-alloc_size-11.c b/gcc/testsuite/gcc.dg/attr-alloc_size-11.c
index 3ec44dc..301a06f 100644
--- a/gcc/testsuite/gcc.dg/attr-alloc_size-11.c
+++ b/gcc/testsuite/gcc.dg/attr-alloc_size-11.c
@@ -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" } */
diff --git a/gcc/testsuite/gcc.dg/builtin-inf-1.c b/gcc/testsuite/gcc.dg/builtin-inf-1.c
index 1e00bdc..4b7dcd8 100644
--- a/gcc/testsuite/gcc.dg/builtin-inf-1.c
+++ b/gcc/testsuite/gcc.dg/builtin-inf-1.c
@@ -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();
diff --git a/gcc/testsuite/gcc.dg/builtins-1.c b/gcc/testsuite/gcc.dg/builtins-1.c
index 5dab9fe..26e8a05 100644
--- a/gcc/testsuite/gcc.dg/builtins-1.c
+++ b/gcc/testsuite/gcc.dg/builtins-1.c
@@ -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)
diff --git a/gcc/testsuite/gcc.dg/compat/pr83487-1_y.c b/gcc/testsuite/gcc.dg/compat/pr83487-1_y.c
index ef927bb..7b8db0e 100644
--- a/gcc/testsuite/gcc.dg/compat/pr83487-1_y.c
+++ b/gcc/testsuite/gcc.dg/compat/pr83487-1_y.c
@@ -1,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-10_x.c
index 5954104..c09b343 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c
index cea1ac0..bbc84d0 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-12_x.c
index 925ce92..234112d 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-13_x.c
index f27222f..7cf149f 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-14_x.c
index bb8db70..181375f 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-15_x.c
index 4409c96..d36ee1e 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,3 +1,5 @@
+/* { 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 05e36fe..ddec5fb 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-17_x.c
index 8c27045..782de70 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-18_x.c
index aa10a6e..3310073 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-22_x.c
index 6f1cdc8..9384c15 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-2_x.c
index 57c6da0..1657444 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-3_x.c
index 38e5b54..e5a43af 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-4_x.c
index def20ce..55c8bc7 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-5b_x.c
index 3c37155..3612413 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-6b_x.c
index 5b285c9..68062d9 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-7b_x.c
index 508ff61..587bc27 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-8_x.c
index 5a376fd..aadba93 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-9_x.c
index 5bbef77..cf83e7d 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,3 +1,5 @@
+/* { 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_x.c b/gcc/testsuite/gcc.dg/compat/struct-return-2_x.c
index 590c30a..34d1e64 100644
--- a/gcc/testsuite/gcc.dg/compat/struct-return-2_x.c
+++ b/gcc/testsuite/gcc.dg/compat/struct-return-2_x.c
@@ -1,3 +1,5 @@
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
+
#include "compat-common.h"
#ifdef SKIP_VA
diff --git a/gcc/testsuite/gcc.dg/falign-labels-1.c b/gcc/testsuite/gcc.dg/falign-labels-1.c
index be277e4..e4c61c8 100644
--- a/gcc/testsuite/gcc.dg/falign-labels-1.c
+++ b/gcc/testsuite/gcc.dg/falign-labels-1.c
@@ -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
diff --git a/gcc/testsuite/gcc.dg/long_branch.c b/gcc/testsuite/gcc.dg/long_branch.c
index f388a80..97fb169 100644
--- a/gcc/testsuite/gcc.dg/long_branch.c
+++ b/gcc/testsuite/gcc.dg/long_branch.c
@@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-O2 -fno-reorder-blocks" } */
+/* { dg-skip-if "limited code space" { pdp11-*-* } } */
void abort ();
diff --git a/gcc/testsuite/gcc.dg/nextafter-1.c b/gcc/testsuite/gcc.dg/nextafter-1.c
index 502e0f4..1916ac2 100644
--- a/gcc/testsuite/gcc.dg/nextafter-1.c
+++ b/gcc/testsuite/gcc.dg/nextafter-1.c
@@ -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" } } */
diff --git a/gcc/testsuite/gcc.dg/pr35045.c b/gcc/testsuite/gcc.dg/pr35045.c
index 626bde4..9cf6493 100644
--- a/gcc/testsuite/gcc.dg/pr35045.c
+++ b/gcc/testsuite/gcc.dg/pr35045.c
@@ -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);
diff --git a/gcc/testsuite/gcc.dg/pr48616.c b/gcc/testsuite/gcc.dg/pr48616.c
index 4517d79..555532c 100644
--- a/gcc/testsuite/gcc.dg/pr48616.c
+++ b/gcc/testsuite/gcc.dg/pr48616.c
@@ -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)));
diff --git a/gcc/testsuite/gcc.dg/pr84100.c b/gcc/testsuite/gcc.dg/pr84100.c
index 86fbc4f..fd157ac 100644
--- a/gcc/testsuite/gcc.dg/pr84100.c
+++ b/gcc/testsuite/gcc.dg/pr84100.c
@@ -1,6 +1,7 @@
/* PR c/84100 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
+/* { dg-skip-if "no code alignment > 2" { "pdp11-*-*" } } */
void bar (void);
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-9.c b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-9.c
index 9090ec1..b4a05bb 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-9.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-9.c
@@ -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;
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-10.c b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-10.c
index 82163b2..facc023 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-10.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-10.c
@@ -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;
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c
index f7e779a..f90558e 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c
@@ -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