From patchwork Fri Feb 27 10:19:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Krebbel X-Patchwork-Id: 444238 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id D2EBC140111 for ; Fri, 27 Feb 2015 21:19:32 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=Sm+YghVL; dkim-adsp=none (unprotected policy); dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=tBmkdT6NgyNusYrNFgHDpJ/tiw35Fz7DLDpSLUV32M1+0RltdwYfT rjUGzeAJmnEo9GzXyS9cLGy0qKvHTQjp+nLZIKskWMsOG7dNuio9O/YKQ5Ig1z8P Mj+ISLTFJnpuDkxAFzYwQd9NUlUvNtV7XdpCYvb/uKMSQlUfImxD2A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=2rM/Sg99D8i4SmYiJIx6Aw5a3RE=; b=Sm+YghVLtgyBsLcHmiho oYvUxINxddkCZK+hH8f4neXm+YzqwUCXffQ0KbXI8JhFkv6v27nGO4iEV6fi73vb N7JTVjDTdnLPWpOdptcoqUptS0q7X7yzn/oTPW1FD5pzIA00WxG7SuEORrhgeSei M6jQ1OmWzYYYSUwjF6zHzrU= Received: (qmail 109945 invoked by alias); 27 Feb 2015 10:19:25 -0000 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 Received: (qmail 109935 invoked by uid 89); 27 Feb 2015 10:19:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e06smtp11.uk.ibm.com Received: from e06smtp11.uk.ibm.com (HELO e06smtp11.uk.ibm.com) (195.75.94.107) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 27 Feb 2015 10:19:24 +0000 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 27 Feb 2015 10:19:20 -0000 Received: from d06dlp03.portsmouth.uk.ibm.com (9.149.20.15) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 27 Feb 2015 10:19:19 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 9E3911B08069 for ; Fri, 27 Feb 2015 10:19:34 +0000 (GMT) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t1RAJIVR10813722 for ; Fri, 27 Feb 2015 10:19:18 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t1RAJIbP006548 for ; Fri, 27 Feb 2015 03:19:18 -0700 Received: from bart (dyn-9-152-212-204.boeblingen.de.ibm.com [9.152.212.204]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with SMTP id t1RAJHlV006447 for ; Fri, 27 Feb 2015 03:19:17 -0700 Received: by bart (sSMTP sendmail emulation); Fri, 27 Feb 2015 11:19:16 +0100 Date: Fri, 27 Feb 2015 11:19:16 +0100 From: Andreas Krebbel To: gcc-patches@gcc.gnu.org Subject: [Committed] S/390: Remove -m64/-m31 from target specific testcases Message-ID: <20150227101916.GA24388@maggie> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15022710-0041-0000-0000-000003855AA0 X-IsSubscribed: yes Hi, the attached patch gets rid of -m64/-m31 uses in our target specific testcases in order to make "make check RUNTESTFLAGS='--target_board=unix\{-m31,-m64\}'" runs work fine again. Committed to mainline. Bye, -Andreas- 2015-02-27 Andreas Krebbel * gcc.target/s390/20140327-1.c: Remove -m31 and guard with ! lp64. * gcc.target/s390/hotpatch-8.c: Likewise. * gcc.target/s390/hotpatch-9.c: Likewise. * gcc.target/s390/pr61078.c: Likewise. * gcc.target/s390/pr57960.c: Remove -m64. * gcc.target/s390/pr61078.c: Likewise. diff --git a/gcc/testsuite/gcc.target/s390/20140327-1.c b/gcc/testsuite/gcc.target/s390/20140327-1.c index f71c38f..25c7391 100644 --- a/gcc/testsuite/gcc.target/s390/20140327-1.c +++ b/gcc/testsuite/gcc.target/s390/20140327-1.c @@ -1,5 +1,5 @@ -/* { dg-do compile } */ -/* { dg-options "-O3 -m31 -mzarch" } */ +/* { dg-do compile { target { ! lp64 } } } */ +/* { dg-options "-O3 -mzarch" } */ void foo () diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-8.c b/gcc/testsuite/gcc.target/s390/hotpatch-8.c index 0874bbc..25edd9b 100644 --- a/gcc/testsuite/gcc.target/s390/hotpatch-8.c +++ b/gcc/testsuite/gcc.target/s390/hotpatch-8.c @@ -1,7 +1,7 @@ /* Functional tests for the function hotpatching feature. */ -/* { dg-do compile } */ -/* { dg-options "-O3 -mesa -m31 -march=g5 -mhotpatch=0,3" } */ +/* { dg-do compile { target { ! lp64 } } } */ +/* { dg-options "-O3 -mesa -march=g5 -mhotpatch=0,3" } */ #include diff --git a/gcc/testsuite/gcc.target/s390/hotpatch-9.c b/gcc/testsuite/gcc.target/s390/hotpatch-9.c index d6fb29a..2143f9d 100644 --- a/gcc/testsuite/gcc.target/s390/hotpatch-9.c +++ b/gcc/testsuite/gcc.target/s390/hotpatch-9.c @@ -1,7 +1,7 @@ /* Functional tests for the function hotpatching feature. */ -/* { dg-do compile } */ -/* { dg-options "-O3 -mesa -m31 -march=g5 -mhotpatch=0,4" } */ +/* { dg-do compile { target { ! lp64 } } } */ +/* { dg-options "-O3 -mesa -march=g5 -mhotpatch=0,4" } */ #include diff --git a/gcc/testsuite/gcc.target/s390/pr57559.c b/gcc/testsuite/gcc.target/s390/pr57559.c index 15c3878..1c62f56 100644 --- a/gcc/testsuite/gcc.target/s390/pr57559.c +++ b/gcc/testsuite/gcc.target/s390/pr57559.c @@ -1,7 +1,7 @@ /* PR rtl-optimization/57559 */ /* { dg-do compile } */ -/* { dg-options "-march=z10 -m64 -mzarch -O1" } */ +/* { dg-options "-march=z10 -mzarch -O1" } */ typedef int int32_t; typedef unsigned char uint8_t; diff --git a/gcc/testsuite/gcc.target/s390/pr57960.c b/gcc/testsuite/gcc.target/s390/pr57960.c index ee751ed..03578ff 100644 --- a/gcc/testsuite/gcc.target/s390/pr57960.c +++ b/gcc/testsuite/gcc.target/s390/pr57960.c @@ -1,7 +1,7 @@ /* PR rtl-optimization/57960 */ /* { dg-do compile } */ -/* { dg-options "-march=z10 -m64 -mzarch -O1" } */ +/* { dg-options "-march=z10 -mzarch -O1" } */ typedef union { diff --git a/gcc/testsuite/gcc.target/s390/pr61078.c b/gcc/testsuite/gcc.target/s390/pr61078.c index 2f95eba..40f6ad7 100644 --- a/gcc/testsuite/gcc.target/s390/pr61078.c +++ b/gcc/testsuite/gcc.target/s390/pr61078.c @@ -1,8 +1,8 @@ /* This testcase is extracted from s390_emit_prologue. The negation of a 64bit value got split incorrectly on 31 bit. */ -/* { dg-do run } */ -/* { dg-options "-O2 -mesa -m31" } */ +/* { dg-do run { target { ! lp64 } } } */ +/* { dg-options "-O2 -mesa" } */ extern void abort (void);