From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51126 invoked by alias); 10 Dec 2018 12:15:44 -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 50969 invoked by uid 89); 10 Dec 2018 12:15:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,GIT_PATCH_3,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=H*i:sk:2018121, H*f:sk:2018121 X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Dec 2018 12:15:05 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 3608D22F; Mon, 10 Dec 2018 13:15:03 +0100 (CET) Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pc97u97F-LMt; Mon, 10 Dec 2018 13:15:01 +0100 (CET) Received: from lokon.CeBiTec.Uni-Bielefeld.DE (lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 5A31B22E; Mon, 10 Dec 2018 13:15:01 +0100 (CET) Received: (from ro@localhost) by lokon.CeBiTec.Uni-Bielefeld.DE (8.15.2+Sun/8.15.2/Submit) id wBACF0XQ017620; Mon, 10 Dec 2018 13:15:00 +0100 (MET) From: Rainer Orth To: Jakub Jelinek Cc: Mike Stump , gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Fix *ivdep* tests on SPARC etc. (PR testsuite/88369, take 2) References: <20181206070730.GO12380@tucnak> <20181210120019.GY12380@tucnak> Date: Mon, 10 Dec 2018 12:15:00 -0000 In-Reply-To: <20181210120019.GY12380@tucnak> (Jakub Jelinek's message of "Mon, 10 Dec 2018 13:00:19 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg00567.txt.bz2 Hi Jakub, > As mentioned in the PR, another testcase was missed, this patch modifies > that one too. Ok for trunk? > > 2018-12-10 Jakub Jelinek > > PR testsuite/88369 > * gcc.dg/vect/vect-ivdep-1.c: Prune versioning for alignment messages. > * gcc.dg/vect/vect-ivdep-2.c: Likewise. > * gcc.dg/vect/nodump-vect-opt-info-1.c: Likewise. > * g++.dg/vect/pr33426-ivdep.cc: Likewise. > * g++.dg/vect/pr33426-ivdep-2.cc: Likewise. > * g++.dg/vect/pr33426-ivdep-3.cc: Likewise. > * g++.dg/vect/pr33426-ivdep-4.cc: Likewise. > --- gcc/testsuite/gcc.dg/vect/nodump-vect-opt-info-1.c.jj 2018-09-29 18:03:11.562727541 +0200 > +++ gcc/testsuite/gcc.dg/vect/nodump-vect-opt-info-1.c 2018-12-10 12:57:56.714484728 +0100 > @@ -6,6 +6,7 @@ vadd (int *dst, int *op1, int *op2, int > { > /* { dg-optimized "loop vectorized" "" { target *-*-* } .+2 } */ > /* { dg-optimized "loop versioned for vectorization because of possible aliasing" "" { target *-*-* } .+1 } */ > +/* { dg-prune-output " version\[^\n\r]* alignment" } */ > for (int i = 0; i < count; ++i) > dst[i] = op1[i] + op2[i]; > } this is wrong: either move the dg-prune-output before the first dg-optimized (preferably) or adjust the line number distances to account for the additional line. Ok with that fixed. Thanks. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University