From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9549 invoked by alias); 20 Oct 2009 12:07:23 -0000 Received: (qmail 9537 invoked by uid 22791); 20 Oct 2009 12:07:21 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from fanny.its.uu.se (HELO fanny.its.uu.se) (130.238.4.241) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Oct 2009 12:07:15 +0000 Received: by fanny.its.uu.se (Postfix, from userid 212) id 9701C6464; Tue, 20 Oct 2009 14:07:13 +0200 (MSZ) Received: from pilspetsen.it.uu.se (pilspetsen.it.uu.se [130.238.18.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by fanny.its.uu.se (Postfix) with ESMTP id 72CC763B7 for ; Tue, 20 Oct 2009 14:07:10 +0200 (MSZ) Received: (from mikpe@localhost) by pilspetsen.it.uu.se (8.13.8+Sun/8.13.8) id n9KC7ANG015100; Tue, 20 Oct 2009 14:07:10 +0200 (MEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19165.42989.985576.896803@pilspetsen.it.uu.se> Date: Tue, 20 Oct 2009 12:23:00 -0000 From: Mikael Pettersson To: gcc-patches@gcc.gnu.org Subject: [PATCH 4.4] remove -frtl-abstract-sequences tests 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: 2009-10/txt/msg01273.txt.bz2 The pr11832.c and pr33009.c -frtl-abstract-sequences tests in 4.4 cause ICE failures on most platforms, and test a feature which never worked properly and which has been removed from 4.5. So they are pointless and cause testsuite failures on platforms like ARM where they have not yet been explicitly disabled. This patch thus removes them from 4.4. (This was pre-approved by Richard Guenther. I don't have write access, so can someone please commit it for me?) gcc/testsuite/ 2009-10-20 Mikael Pettersson * gcc.c-torture/compile/pr11832.c: Delete. * gcc.c-torture/compile/pr33009.c: Likewise. diff -rupN gcc-4.4.2/gcc/testsuite/gcc.c-torture/compile/pr11832.c gcc-4.4.2-pr33642/gcc/testsuite/gcc.c-torture/compile/pr11832.c --- gcc-4.4.2/gcc/testsuite/gcc.c-torture/compile/pr11832.c 2008-12-01 16:19:40.000000000 +0100 +++ gcc-4.4.2-pr33642/gcc/testsuite/gcc.c-torture/compile/pr11832.c 1970-01-01 01:00:00.000000000 +0100 @@ -1,35 +0,0 @@ -/* { dg-do compile } */ -/* Currently ICEs for Alpha, IA64, HPPA, MIPS, CRIS, Xtensa, PowerPC, SH and SPARC; see PR33642. */ -/* { dg-xfail-if "PR33642" { alpha*-*-* hppa*-*-* mips*-*-* powerpc*-*-* cris-*-* crisv32-*-* ia64-*-* xtensa*-*-* sh*-*-* sparc*-*-* s390*-*-* } { "*" } { "" } } */ -/* Currently ICEs for (x86 && ilp32 && pic). */ -/* { dg-xfail-if "PR33642/36240" { { i?86-*-* x86_64-*-* } && { ilp32 && { ! nonpic } } } { "*" } { "" } } */ -/* { dg-prune-output ".*internal compiler error.*" } -/* { dg-options "-frtl-abstract-sequences" } */ - -int a, b, e; -unsigned char *c; -void foo() -{ - int d = 13; - b = -1; - switch (e) { - case 1: - b++; c[b] = (unsigned char)d; - break; - case 2: - b++; c[b] = (unsigned char)d; - b++; c[b] = (unsigned char)d; - break; - case 3: - b++; c[b] = (unsigned char)d; - b++; c[b] = (unsigned char)d; - b++; c[b] = (unsigned char)d; - break; - default: - a = 1; - b++; c[b] = (unsigned char)d; - b++; c[b] = (unsigned char)d; - b++; c[b] = (unsigned char)d; - b++; c[b] = (unsigned char)d; - } -} diff -rupN gcc-4.4.2/gcc/testsuite/gcc.c-torture/compile/pr33009.c gcc-4.4.2-pr33642/gcc/testsuite/gcc.c-torture/compile/pr33009.c --- gcc-4.4.2/gcc/testsuite/gcc.c-torture/compile/pr33009.c 2008-12-01 16:19:40.000000000 +0100 +++ gcc-4.4.2-pr33642/gcc/testsuite/gcc.c-torture/compile/pr33009.c 1970-01-01 01:00:00.000000000 +0100 @@ -1,41 +0,0 @@ -/* { dg-do compile } */ -/* Currently ICEs for Alpha, IA64, HPPA, MIPS, CRIS, Xtensa, PowerPC, SH and SPARC; see PR33642. */ -/* { dg-xfail-if "PR33642" { alpha*-*-* hppa*-*-* mips*-*-* powerpc*-*-* cris-*-* crisv32-*-* ia64-*-* xtensa*-*-* sh*-*-* sparc*-*-* s390*-*-* } { "*" } { "" } } */ -/* Currently ICEs for (x86 && ilp32 && pic). */ -/* { dg-xfail-if "PR33642/36240" { { i?86-*-* x86_64-*-* } && { ilp32 && { ! nonpic } } } { "*" } { "" } } */ -/* { dg-prune-output ".*internal compiler error.*" } -/* { dg-options "-frtl-abstract-sequences" } */ - -char *progName; -int bar0 (char *, ...); -void bar1 (char *); -void exit (int); - - -#define SAME \ - bar0 ("%s: Bad flag `%s'\n", argv[i], argv[i] );\ - bar1 ( progName ); \ - exit ( 1 ); - - -int foo ( int argc, char *argv[] ) -{ - int i; - for (i = 0; i < argc; i++) { - switch (argv[i][0]) { - case 'c': - break; - default: - - SAME - - break; - } - } - for (i = 0; i < argc; i++) { - - SAME - - } - return 0; -}