From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64541 invoked by alias); 7 Apr 2016 21:47:12 -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 64528 invoked by uid 89); 7 Apr 2016 21:47:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 07 Apr 2016 21:47:11 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 12269C05E154 for ; Thu, 7 Apr 2016 21:47:10 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-113-22.phx2.redhat.com [10.3.113.22]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u37Ll8EX029332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 7 Apr 2016 17:47:09 -0400 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id u37Ll6IJ016231 for ; Thu, 7 Apr 2016 23:47:07 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id u37Ll6oD016230 for gcc-patches@gcc.gnu.org; Thu, 7 Apr 2016 23:47:06 +0200 Date: Thu, 07 Apr 2016 21:47:00 -0000 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] Fix lto/simd_function_0.c testcase (PR testsuite/70581) Message-ID: <20160407214706.GL19207@tucnak.redhat.com> Reply-To: Jakub Jelinek MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00363.txt.bz2 Hi! This fixes this testcase when using assembler that doesn't support AVX512F, which is now required for simd clones (previously it has been just avx2 and thus avx2 effective target has been sufficient). Regtested on x86_64-linux, committed to trunk. 2016-04-07 Jakub Jelinek PR testsuite/70581 * gcc.dg/lto/simd-function_0.c: New test. --- gcc/testsuite/gcc.dg/lto/simd-function_0.c.jj 2015-10-29 09:14:35.000000000 +0100 +++ gcc/testsuite/gcc.dg/lto/simd-function_0.c 2016-04-07 18:50:46.975624860 +0200 @@ -1,4 +1,5 @@ /* { dg-lto-do link } */ +/* { dg-require-effective-target vect_simd_clones } */ /* { dg-require-effective-target avx2 } */ /* { dg-lto-options { { -fopenmp-simd -O3 -ffast-math -mavx2 -flto -flto-partition=max } } } */ Jakub