From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123172 invoked by alias); 3 Sep 2016 09:22:56 -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 123161 invoked by uid 89); 3 Sep 2016 09:22:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=2016-09-03 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 ESMTP; Sat, 03 Sep 2016 09:22:54 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (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 D70A613A96 for ; Sat, 3 Sep 2016 09:22:52 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-204-43.brq.redhat.com [10.40.204.43]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u839MpBa016917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 3 Sep 2016 05:22:52 -0400 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id u839Mn35019625 for ; Sat, 3 Sep 2016 11:22:49 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id u839Mm9G019624 for gcc-patches@gcc.gnu.org; Sat, 3 Sep 2016 11:22:48 +0200 Date: Sat, 03 Sep 2016 09:37:00 -0000 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] Fix up gomp/_Atomic-4.c (PR c/65467) Message-ID: <20160903092248.GO14857@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <20160902184621.GL14857@tucnak.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160902184621.GL14857@tucnak.redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00141.txt.bz2 Hi! On Fri, Sep 02, 2016 at 08:46:21PM +0200, Jakub Jelinek wrote: > * gcc.dg/gomp/_Atomic-4.c: New test. Andreas noted in the PR the test fails on targets other than x86_64/i686. That is because no other target yet provides the compute_vecsize_and_simdlen target hook (basically, backend maintainers should agree on some ABI for simd clones and implement those in the target hook). So, I've committed following patch as obvious: 2016-09-03 Jakub Jelinek PR c/65467 * gcc.dg/gomp/_Atomic-4.c: Require vect_simd_clones effective target. --- gcc/testsuite/gcc.dg/gomp/_Atomic-4.c.jj 2016-09-02 20:36:22.000000000 +0200 +++ gcc/testsuite/gcc.dg/gomp/_Atomic-4.c 2016-09-03 10:30:29.708581112 +0200 @@ -1,6 +1,7 @@ /* PR c/65467 */ /* { dg-do compile } */ /* { dg-additional-options "-std=c11" } */ +/* { dg-require-effective-target vect_simd_clones } */ #pragma omp declare simd int Jakub