aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaul Koning <ni1d@arrl.net>2018-05-25 16:59:28 -0400
committerPaul Koning <pkoning@gcc.gnu.org>2018-05-25 16:59:28 -0400
commit99dcfb5fc184d4eeb2753ae9475bda4d58266161 (patch)
tree43250625c8ecb7f115efdb7de605f54cca4727ae /gcc
parent3983063e76edec0a49badb341daa1ba438c5a9a7 (diff)
downloadgcc-99dcfb5fc184d4eeb2753ae9475bda4d58266161.zip
gcc-99dcfb5fc184d4eeb2753ae9475bda4d58266161.tar.gz
gcc-99dcfb5fc184d4eeb2753ae9475bda4d58266161.tar.bz2
Fix test case failures for pdp11 target.
* gcc.c-torture/compile/20151204.c: Skip if pdp11. * gcc.c-torture/compile/pr55921.c: Ditto. * gcc.c-torture/compile/pr60655-1.c: Ditto. * gcc.c-torture/compile/vector-align-1.c: Add max alignment if pdp11. From-SVN: r260781
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20151204.c2
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr55921.c1
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr60655-1.c2
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/vector-align-1.c4
5 files changed, 14 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 62862e5..ab853d0 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2018-05-25 Paul Koning <ni1d@arrl.net>
+
+ * gcc.c-torture/compile/20151204.c: Skip if pdp11.
+ * gcc.c-torture/compile/pr55921.c: Ditto.
+ * gcc.c-torture/compile/pr60655-1.c: Ditto.
+ * gcc.c-torture/compile/vector-align-1.c: Add max alignment if pdp11.
+
2018-05-25 Jakub Jelinek <jakub@redhat.com>
PR target/85832
diff --git a/gcc/testsuite/gcc.c-torture/compile/20151204.c b/gcc/testsuite/gcc.c-torture/compile/20151204.c
index e07e13d..6a46abf 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20151204.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20151204.c
@@ -1,4 +1,4 @@
-/* { dg-skip-if "Array too big" { "avr-*-*" } } */
+/* { dg-skip-if "Array too big" { "avr-*-*" "pdp11-*-*" } } */
typedef __SIZE_TYPE__ size_t;
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr55921.c b/gcc/testsuite/gcc.c-torture/compile/pr55921.c
index 94b7bce..de0635d6 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr55921.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr55921.c
@@ -1,4 +1,5 @@
/* PR tree-optimization/55921 */
+/* { dg-skip-if "Not enough registers" { "pdp11-*-*" } } */
typedef union
{
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr60655-1.c b/gcc/testsuite/gcc.c-torture/compile/pr60655-1.c
index 31efb4b..6911e0d 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr60655-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr60655-1.c
@@ -1,4 +1,4 @@
-/* { dg-options "-fdata-sections" { target { { ! { { hppa*-*-hpux* } && { ! lp64 } } } && { ! nvptx-*-* } } } } */
+/* { dg-options "-fdata-sections" { target { { ! { { hppa*-*-hpux* } && { ! lp64 } } } && { ! "nvptx-*-* pdp11-*-*" } } } } */
typedef unsigned char unit;
typedef unit *unitptr;
diff --git a/gcc/testsuite/gcc.c-torture/compile/vector-align-1.c b/gcc/testsuite/gcc.c-torture/compile/vector-align-1.c
index dc97ba6c..825ef7c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/vector-align-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/vector-align-1.c
@@ -2,7 +2,11 @@
/* If some target has a Max alignment less than 128, please create
a #ifdef around the alignment and add your alignment. */
+#ifdef __pdp11__
+#define alignment 2
+#else
#define alignment 128
+#endif
char x __attribute__((aligned(alignment),vector_size(2)));