This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[RFA] testsuite: skip some tests if pdp11
- From: Paul Koning <paul_koning at dell dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 1 Nov 2010 11:01:22 -0400
- Subject: [RFA] testsuite: skip some tests if pdp11
The following patch skips several c-torture tests that fail on pdp11 because they are too big for 16 bits.
Ok to commit? (Do I need approval for this? I don't see this sort of change as something allowed by target maintainer privs, so I'm asking for approval to be sure.)
paul
ChangeLog:
* gcc.c-torture/compile/20080625-1.c: Skip if pdp11.
* gcc.c-torture/compile/20020604-1.c: Ditto.
* gcc.c-torture/compile/20001226-1.c: Ditto.
* gcc.c-torture/compile/20010327-1.c: Ditto.
* gcc.c-torture/compile/limits-stringlit.c: Ditto.
* gcc.c-torture/compile/pr43191.c: Ditto.
* gcc.c-torture/compile/pr41181.c: Ditto.
Index: testsuite/gcc.c-torture/compile/20080625-1.c
===================================================================
--- testsuite/gcc.c-torture/compile/20080625-1.c (revision 166133)
+++ testsuite/gcc.c-torture/compile/20080625-1.c (working copy)
@@ -1,4 +1,4 @@
-/* { dg-skip-if "too much data" { "avr-*-*" "m32c-*-*" } { "*" } { "" } } */
+/* { dg-skip-if "too much data" { "avr-*-*" "m32c-*-*" "pdp11-*-*" } { "*" } { "" } } */
struct peakbufStruct {
unsigned int lnum [5000];
int lscan [5000][4000];
Index: testsuite/gcc.c-torture/compile/20020604-1.c
===================================================================
--- testsuite/gcc.c-torture/compile/20020604-1.c (revision 166133)
+++ testsuite/gcc.c-torture/compile/20020604-1.c (working copy)
@@ -1,6 +1,6 @@
/* { dg-do assemble } */
/* { dg-xfail-if "The array is too big" { "m6811-*-* m6812-*-*" } { "*" } { "" } } */
-/* { dg-skip-if "The array is too big" { "avr-*-*" } { "*" } { "" } } */
+/* { dg-skip-if "The array is too big" { "avr-*-*" "pdp11-*-*" } { "*" } { "" } } */
/* { dg-xfail-if "The array too big" { "h8300-*-*" } { "-mno-h" "-mn" } { "" } } */
/* { dg-skip-if "" { m32c-*-* } { } { } } */
Index: testsuite/gcc.c-torture/compile/20001226-1.c
===================================================================
--- testsuite/gcc.c-torture/compile/20001226-1.c (revision 166133)
+++ testsuite/gcc.c-torture/compile/20001226-1.c (working copy)
@@ -3,6 +3,7 @@
/* { dg-do assemble } */
/* { dg-xfail-if "function larger than 64K" { m6811-*-* } { "*" } { "" } } */
/* { dg-skip-if "too much code for avr" { "avr-*-*" } { "*" } { "" } } */
+/* { dg-skip-if "too much code for pdp11" { "pdp11-*-*" } { "*" } { "" } } */
/* { dg-xfail-if "jump beyond 128K not supported" { xtensa*-*-* } { "-O0" } { "" } } */
/* { dg-xfail-if "PR36698" { spu-*-* } { "-O0" } { "" } } */
/* { dg-skip-if "" { m32c-*-* } { "*" } { "" } } */
Index: testsuite/gcc.c-torture/compile/20010327-1.c
===================================================================
--- testsuite/gcc.c-torture/compile/20010327-1.c (revision 166133)
+++ testsuite/gcc.c-torture/compile/20010327-1.c (working copy)
@@ -1,5 +1,6 @@
/* { dg-skip-if "non-SI pointers" { m32c-*-* } { "*" } { "" } } */
/* { dg-skip-if "HI mode pointer for avr" { "avr-*-*" } { "*" } { "" } } */
+/* { dg-skip-if "HI mode pointer for pdp11" { "pdp11-*-*" } { "*" } { "" } } */
/* { dg-skip-if "non-SI pointers for w64" { "x86_64-*-mingw*" } { "*" } { "" } } */
/* This testcase tests whether GCC can produce static initialized data
Index: testsuite/gcc.c-torture/compile/limits-stringlit.c
===================================================================
--- testsuite/gcc.c-torture/compile/limits-stringlit.c (revision 166133)
+++ testsuite/gcc.c-torture/compile/limits-stringlit.c (working copy)
@@ -1,4 +1,4 @@
-/* { dg-skip-if "Array too big" { avr-*-* picochip-*-* m32c-*-* } { "*" } { "" } } */
+/* { dg-skip-if "Array too big" { avr-*-* picochip-*-* m32c-*-* pdp11-*-* } { "*" } { "" } } */
#define STR2 "012345678901234567890123456789012345678901234567890123456789\
0123456789012345678901234567890123456789"
Index: testsuite/gcc.c-torture/compile/pr43191.c
===================================================================
--- testsuite/gcc.c-torture/compile/pr43191.c (revision 166133)
+++ testsuite/gcc.c-torture/compile/pr43191.c (working copy)
@@ -1,3 +1,4 @@
+/* { dg-skip-if "Ints are 16 bits" { "pdp11-*-* } { "*" } { "" } } */
struct S0
{
};
Index: testsuite/gcc.c-torture/compile/pr41181.c
===================================================================
--- testsuite/gcc.c-torture/compile/pr41181.c (revision 166133)
+++ testsuite/gcc.c-torture/compile/pr41181.c (working copy)
@@ -1,4 +1,4 @@
-/* { dg-skip-if "The array is too big" { "avr-*-*" } { "*" } { "" } } */
+/* { dg-skip-if "The array is too big" { "avr-*-*" "pdp11-*-* } { "*" } { "" } } */
char paths[1024];
static void x264_slicetype_path(char (*best_paths)[250], int n, int length)
{