From: Paul Koning Date: Fri, 25 May 2018 20:59:28 +0000 (-0400) Subject: Fix test case failures for pdp11 target. X-Git-Tag: upstream/12.2.0~31481 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99dcfb5fc184d4eeb2753ae9475bda4d58266161;p=platform%2Fupstream%2Fgcc.git 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 --- 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 + + * 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 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 dc97ba6..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)));