From patchwork Mon Nov 1 15:01:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Koning X-Patchwork-Id: 69771 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 5F985B70E3 for ; Tue, 2 Nov 2010 02:01:36 +1100 (EST) Received: (qmail 22797 invoked by alias); 1 Nov 2010 15:01:33 -0000 Received: (qmail 22786 invoked by uid 22791); 1 Nov 2010 15:01:32 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ausc60ps301.us.dell.com (HELO ausc60ps301.us.dell.com) (143.166.148.206) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 01 Nov 2010 15:01:26 +0000 X-Loopcount0: from 10.152.240.141 From: Paul Koning Subject: [RFA] testsuite: skip some tests if pdp11 Date: Mon, 1 Nov 2010 11:01:22 -0400 Message-Id: <94A90E00-BB99-4BC8-9000-7D8C45303B58@dell.com> To: gcc-patches Mime-Version: 1.0 (Apple Message framework v1081) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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) {