From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9354 invoked by alias); 14 Oct 2011 14:44:17 -0000 Received: (qmail 9346 invoked by uid 22791); 14 Oct 2011 14:44:16 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 14 Oct 2011 14:44:02 +0000 Received: from eggs.gnu.org ([140.186.70.92]:36241) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1REizS-0001bu-1t for gcc-patches@gnu.org; Fri, 14 Oct 2011 10:44:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1REizL-00084d-Ri for gcc-patches@gnu.org; Fri, 14 Oct 2011 10:44:01 -0400 Received: from service87.mimecast.com ([91.220.42.44]:52938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REizL-00084Z-Gp for gcc-patches@gnu.org; Fri, 14 Oct 2011 10:43:55 -0400 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Fri, 14 Oct 2011 15:43:52 +0100 Received: from [10.1.69.63] ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 14 Oct 2011 15:43:49 +0100 Message-ID: <4E984AA4.7050105@arm.com> Date: Fri, 14 Oct 2011 15:12:00 -0000 From: Matthew Gretton-Dann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110928 Thunderbird/7.0 MIME-Version: 1.0 To: gcc-patches@gnu.org CC: ro@cebitec.uni-bielefeld.de, mikestump@comcast.net Subject: [PATCH/RFA] Fix up gcc.dg/vect/pr30858.c expected output X-MC-Unique: 111101415435201501 Content-Type: multipart/mixed; boundary="------------060301040609010902000600" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 91.220.42.44 X-IsSubscribed: yes 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: 2011-10/txt/msg01288.txt.bz2 This is a multi-part message in MIME format. --------------060301040609010902000600 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-length: 855 All, The attached patch corrects the expected output of the gcc.dg/vect/pr30858.c testcase. Historically it has expected the output "Unknown def-use cycle pattern."=20 just once. However, recent changes to GCC for ARM targets means that vectorization=20 is attempted twice once with a vector size of 128-bits and once with a=20 vector size of 64-bits. This means that the output appears more than once. The patch works around this by making the testcase expect one or more=20 instances of "Unknown def-use cycle pattern" Can someone review please? Thanks, Matt gcc/testsuite/ChangeLog: 2011-10-13 Matthew Gretton-Dann * gcc.dg/vect/pr30858.c: Update expected output for architectures with multiple vector sizes. --=20 Matthew Gretton-Dann Principal Engineer, PD Software - Tools, ARM Ltd= --------------060301040609010902000600 Content-Type: text/plain; name=1110-fix-pr30858.txt Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="1110-fix-pr30858.txt" Content-length: 535 diff --git a/gcc/testsuite/gcc.dg/vect/pr30858.c b/gcc/testsuite/gcc.dg/vec= t/pr30858.c index 0af2f8e..0e7f7e1 100644 --- a/gcc/testsuite/gcc.dg/vect/pr30858.c +++ b/gcc/testsuite/gcc.dg/vect/pr30858.c @@ -11,5 +11,5 @@ foo (int ko) } =20 /* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" } } */ -/* { dg-final { scan-tree-dump-times "Unknown def-use cycle pattern." 1 "v= ect" } } */ +/* { dg-final { scan-tree-dump "Unknown def-use cycle pattern." "vect" } }= */ /* { dg-final { cleanup-tree-dump "vect" } } */ --------------060301040609010902000600--