From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10338 invoked by alias); 30 Jul 2007 19:55:32 -0000 Received: (qmail 10325 invoked by uid 22791); 30 Jul 2007 19:55:31 -0000 X-Spam-Check-By: sourceware.org Received: from pfepa.post.tele.dk (HELO pfepa.post.tele.dk) (195.41.46.235) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Jul 2007 19:55:23 +0000 Received: from x1-6-00-0f-9f-c6-3e-90 (x1-6-00-0f-9f-c6-3e-90.k75.webspeed.dk [80.197.1.215]) by pfepa.post.tele.dk (Postfix) with ESMTP id C87B4FAC041 for ; Mon, 30 Jul 2007 21:55:19 +0200 (CEST) Received: from x1-6-00-0f-9f-c6-3e-90 (localhost.localdomain [127.0.0.1]) by x1-6-00-0f-9f-c6-3e-90 (8.14.0/8.14.0) with ESMTP id l6UJtJ9E015788 for ; Mon, 30 Jul 2007 21:55:19 +0200 Received: (from rask@localhost) by x1-6-00-0f-9f-c6-3e-90 (8.14.0/8.14.0/Submit) id l6UJtIF2015786 for gcc-patches@gcc.gnu.org; Mon, 30 Jul 2007 21:55:18 +0200 Date: Mon, 30 Jul 2007 20:08:00 -0000 From: Rask Ingemann Lambertsen To: gcc-patches@gcc.gnu.org Subject: [PATCH 9/9] Skip or xfail some tests on ia16 Message-ID: <20070730195518.GT25795@sygehus.dk> References: <20070730134217.GK25795@sygehus.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070730134217.GK25795@sygehus.dk> User-Agent: Mutt/1.5.14 (2007-02-12) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg02144.txt.bz2 This patch disables several tests for features which aren't available on ia16. I tested it along with patch 8 in this patch set. Ok for trunk? :ADDPATCH testsuite: 2007-07-30 Rask Ingemann Lambertsen * gcc.dg/20020312-2.c: Skip test of unsupported feature on ia16. * gcc.c-torture/compile/20010327-1.c: Likewise. * gcc.c-torture/compile/20020604-1.c: Likewise. * gcc.dg/pr27639.c: Likewise. * gcc.dg/pr19340.c: Likewise. * gcc.dg/cpp/_Pragma6.c: Likewise. * gcc.dg/20040813-1.c: Likewise. * gcc.dg/sibcall-3.c: Xfail on ia16 until sibling calls work. * gcc.dg/sibcall-4.c: Likewise. Index: gcc/testsuite/gcc.dg/20020312-2.c =================================================================== --- gcc/testsuite/gcc.dg/20020312-2.c (revision 126653) +++ gcc/testsuite/gcc.dg/20020312-2.c (working copy) @@ -80,6 +80,8 @@ extern void abort (void); # else # define PIC_REG "gr17" #endif +#elif defined(__ia16__) +/* No pic register. */ #else # error "Modify the test for your target." #endif Index: gcc/testsuite/gcc.c-torture/compile/20010327-1.c =================================================================== --- gcc/testsuite/gcc.c-torture/compile/20010327-1.c (revision 126653) +++ gcc/testsuite/gcc.c-torture/compile/20010327-1.c (working copy) @@ -1,4 +1,4 @@ -/* { dg-skip-if "non-SI pointers" { m32c-*-* } { "*" } { "" } } */ +/* { dg-skip-if "non-SI pointers" { m32c-*-* ia16-*-* } { "*" } { "" } } */ /* This testcase tests whether GCC can produce static initialized data that references addresses of size 'unsigned long', even if that's not Index: gcc/testsuite/gcc.c-torture/compile/20020604-1.c =================================================================== --- gcc/testsuite/gcc.c-torture/compile/20020604-1.c (revision 126653) +++ gcc/testsuite/gcc.c-torture/compile/20020604-1.c (working copy) @@ -1,7 +1,7 @@ /* The array is too big. */ /* { dg-xfail-if "The array too big" { "h8300-*-*" } { "-mno-h" "-mn" } { "" } } */ /* { dg-do assemble { xfail m6811-*-* m6812-*-* } } */ -/* { dg-skip-if "" { m32c-*-* } { } { } } */ +/* { dg-skip-if "" { m32c-*-* ia16-*-* } { } { } } */ /* PR c/6957 This testcase ICEd at -O2 on IA-32, because Index: gcc/testsuite/gcc.dg/pr27639.c =================================================================== --- gcc/testsuite/gcc.dg/pr27639.c (revision 126653) +++ gcc/testsuite/gcc.dg/pr27639.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2 -std=c99" } */ +/* { dg-skip-if "Array too large" { ia16-*-* } { "*" } { "" } } */ char heap[50000]; Index: gcc/testsuite/gcc.dg/pr19340.c =================================================================== --- gcc/testsuite/gcc.dg/pr19340.c (revision 126653) +++ gcc/testsuite/gcc.dg/pr19340.c (working copy) @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O1 -fschedule-insns2 -fsched2-use-traces" } */ -/* { dg-skip-if "No scheduling" { mmix-*-* cris-*-* fido-*-* m68k-*-* m32c-*-* } { "*" } { "" } } */ +/* { dg-skip-if "No scheduling" { mmix-*-* cris-*-* fido-*-* m68k-*-* m32c-*-* ia16-*-* } { "*" } { "" } } */ extern double f (double x); Index: gcc/testsuite/gcc.dg/cpp/_Pragma6.c =================================================================== --- gcc/testsuite/gcc.dg/cpp/_Pragma6.c (revision 126653) +++ gcc/testsuite/gcc.dg/cpp/_Pragma6.c (working copy) @@ -2,7 +2,7 @@ /* This is supposed to succeed only if the target defines HANDLE_PRAGMA_PACK_PUSH_POP and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION. */ -/* { dg-do compile { target { ! { *-*-solaris2* fido-*-* m68k-*-* sh*-[us]*-elf } } } } */ +/* { dg-do compile { target { ! { *-*-solaris2* fido-*-* m68k-*-* sh*-[us]*-elf ia16-*-* } } } } */ #define push bar #define foo _Pragma ("pack(push)") Index: gcc/testsuite/gcc.dg/20040813-1.c =================================================================== --- gcc/testsuite/gcc.dg/20040813-1.c (revision 126653) +++ gcc/testsuite/gcc.dg/20040813-1.c (working copy) @@ -2,7 +2,7 @@ /* Contributed by Devang Patel */ /* { dg-do compile } */ -/* { dg-skip-if "No stabs" { mmix-*-* *-*-aix* *-*-netware* alpha*-*-* hppa*64*-*-* ia64-*-* *-*-sysv5* *-*-vxworks* } { "*" } { "" } } */ +/* { dg-skip-if "No stabs" { mmix-*-* *-*-aix* *-*-netware* alpha*-*-* hppa*64*-*-* ia64-*-* *-*-sysv5* *-*-vxworks* ia16-*-* } { "*" } { "" } } */ /* { dg-options "-gstabs" } */ int Index: gcc/testsuite/gcc.dg/sibcall-3.c =================================================================== --- gcc/testsuite/gcc.dg/sibcall-3.c (revision 127048) +++ gcc/testsuite/gcc.dg/sibcall-3.c (working copy) @@ -5,7 +5,7 @@ Copyright (C) 2002 Free Software Foundation Inc. Contributed by Hans-Peter Nilsson */ -/* { dg-do run { xfail arc-*-* avr-*-* c4x-*-* cris-*-* h8300-*-* hppa*64*-*-* m32r-*-* m68hc1?-*-* m681?-*-* m680*-*-* m68k-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa-*-* } } */ +/* { dg-do run { xfail arc-*-* avr-*-* c4x-*-* cris-*-* h8300-*-* hppa*64*-*-* ia16-*-* m32r-*-* m68hc1?-*-* m681?-*-* m680*-*-* m68k-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa-*-* } } */ /* -mlongcall disables sibcall patterns. */ /* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */ /* { dg-options "-O2 -foptimize-sibling-calls" } */ Index: gcc/testsuite/gcc.dg/sibcall-4.c =================================================================== --- gcc/testsuite/gcc.dg/sibcall-4.c (revision 127048) +++ gcc/testsuite/gcc.dg/sibcall-4.c (working copy) @@ -5,7 +5,7 @@ Copyright (C) 2002 Free Software Foundation Inc. Contributed by Hans-Peter Nilsson */ -/* { dg-do run { xfail arc-*-* avr-*-* c4x-*-* cris-*-* h8300-*-* hppa*64*-*-* m32r-*-* m68hc1?-*-* m681?-*-* m680*-*-* m68k-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa-*-* } } */ +/* { dg-do run { xfail arc-*-* avr-*-* c4x-*-* cris-*-* h8300-*-* hppa*64*-*-* ia16-*-* m32r-*-* m68hc1?-*-* m681?-*-* m680*-*-* m68k-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa-*-* } } */ /* -mlongcall disables sibcall patterns. */ /* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */ /* { dg-options "-O2 -foptimize-sibling-calls" } */ -- Rask Ingemann Lambertsen