From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6871 invoked by alias); 15 Jan 2013 16:29:46 -0000 Received: (qmail 6861 invoked by uid 22791); 15 Jan 2013 16:29:45 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,SARE_SUB_OBFU_Q0 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Jan 2013 16:29:40 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1Tv9ON-00054B-Tx from Janis_Johnson@mentor.com ; Tue, 15 Jan 2013 08:29:39 -0800 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 15 Jan 2013 08:29:38 -0800 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.1.289.1; Tue, 15 Jan 2013 08:29:37 -0800 Message-ID: <50F5846E.6060102@mentor.com> Date: Tue, 15 Jan 2013 16:29:00 -0000 From: Janis Johnson Reply-To: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 MIME-Version: 1.0 To: CC: "gcc-patches@gcc.gnu.org" , Subject: Re: [testsuite] fix ARM test gcc.target/arm/neon-vld1_dupQ.c References: <50F48EF9.1010206@mentor.com> In-Reply-To: <50F48EF9.1010206@mentor.com> Content-Type: multipart/mixed; boundary="------------020000070805050607090900" 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: 2013-01/txt/msg00789.txt.bz2 --------------020000070805050607090900 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Content-length: 511 On 01/14/2013 03:04 PM, Janis Johnson wrote: > Test gcc.target/arm/neon-vld1_dupQ.c started failing with r194594, a C > front end change that causes the test to get warnings. The test passes > local variables of type int64x1_t to functions declared with arguments > of type int64_t. This patch casts the values passed to those arguments. > It's possible that the patch invalidates the intent of the test, so I've > copied the test's author. > > OK for trunk? > > Janis > Here's the patch (thanks, Aldy!). --------------020000070805050607090900 Content-Type: text/plain; name="gcc-20130114-2" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gcc-20130114-2" Content-length: 774 2013-01-14 Janis Johnson * gcc.target/arm/neon-vld1_dupQ.c: Use types that match function prototypes. Index: gcc.target/arm/neon-vld1_dupQ.c =================================================================== --- gcc.target/arm/neon-vld1_dupQ.c (revision 195178) +++ gcc.target/arm/neon-vld1_dupQ.c (working copy) @@ -13,9 +13,9 @@ int64x1_t input[2] = {(int64x1_t)0x0123456776543210LL, (int64x1_t)0x89abcdeffedcba90LL}; int64x1_t output[2] = {0, 0}; - int64x2_t var = vld1q_dup_s64(input); + int64x2_t var = vld1q_dup_s64((int64_t *)input); - vst1q_s64(output, var); + vst1q_s64((int64_t *)output, var); if (output[0] != (int64x1_t)0x0123456776543210LL) abort(); if (output[1] != (int64x1_t)0x0123456776543210LL) --------------020000070805050607090900--