From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123300 invoked by alias); 23 Feb 2016 10:20:31 -0000 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 Received: (qmail 123255 invoked by uid 89); 23 Feb 2016 10:20:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=*src 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 (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 23 Feb 2016 10:20:29 +0000 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 23 Feb 2016 10:20:26 -0000 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 23 Feb 2016 10:20:15 -0000 X-IBM-Helo: d06dlp01.portsmouth.uk.ibm.com X-IBM-MailFrom: krebbel@linux.vnet.ibm.com X-IBM-RcptTo: gcc-patches@gcc.gnu.org Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 55B6217D8062 for ; Tue, 23 Feb 2016 10:20:35 +0000 (GMT) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u1NAKEmR15466570 for ; Tue, 23 Feb 2016 10:20:14 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 u1NAKEgK019337 for ; Tue, 23 Feb 2016 03:20:14 -0700 Received: from maggie.boeblingen.de.ibm.com (dyn-9-152-212-123.boeblingen.de.ibm.com [9.152.212.123]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u1NAKDNY019305 (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=NO) for ; Tue, 23 Feb 2016 03:20:13 -0700 From: Andreas Krebbel To: gcc-patches@gcc.gnu.org Subject: [Committed 1/3] S/390: Turn movstr-1.c into compile only test. Date: Tue, 23 Feb 2016 10:20:00 -0000 Message-Id: <1456222813-20865-2-git-send-email-krebbel@linux.vnet.ibm.com> In-Reply-To: <1456222813-20865-1-git-send-email-krebbel@linux.vnet.ibm.com> References: <1456222813-20865-1-git-send-email-krebbel@linux.vnet.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16022310-0041-0000-0000-0000079C8B56 X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg01555.txt.bz2 gcc/testsuite/ChangeLog: * gcc.target/s390/md/movstr-1.c: Turn into compile test. --- gcc/testsuite/gcc.target/s390/md/movstr-1.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/gcc/testsuite/gcc.target/s390/md/movstr-1.c b/gcc/testsuite/gcc.target/s390/md/movstr-1.c index da98415..b83ed6d 100644 --- a/gcc/testsuite/gcc.target/s390/md/movstr-1.c +++ b/gcc/testsuite/gcc.target/s390/md/movstr-1.c @@ -1,7 +1,7 @@ /* Machine description pattern tests. */ -/* { dg-do run } */ -/* { dg-options "-dP -save-temps" } */ +/* { dg-do compile } */ +/* { dg-options "-dP" } */ __attribute__ ((noinline)) void test(char *dest, const char *src) @@ -10,15 +10,3 @@ void test(char *dest, const char *src) } /* { dg-final { scan-assembler-times {{[*]movstr}|{vec_vfenesv16qi}} 1 } } */ - -#define LEN 200 -char buf[LEN]; - -int main(void) -{ - __builtin_memset(buf, 0, LEN); - test(buf, "hello world!"); - if (__builtin_strcmp(buf, "hello world!") != 0) - __builtin_abort(); - return 0; -} -- 1.9.1