From patchwork Thu Jun 2 13:34:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Preudhomme X-Patchwork-Id: 629245 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rL7Vy5sLbz9t8R for ; Thu, 2 Jun 2016 23:34:33 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=tmPCzUJC; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=rkBzydEoGtwzPRv6MKEI0n9CXRZMhkO58bOoPmSJlCnAYhxKXgcGf BAMv9HRkwhjlAf3UT1+YpHw6RY1pOumHUFuVwKQLqnwwGQUngIT1xyKzZsLnRMNc 0AiANxwn0dlN8JimeS6rWmLkB+YRT0xn7m+VqopSyzbGEDVwaCWyvA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=default; bh=fJrrFh96t44xzAKIeuXxLeXoMVM=; b=tmPCzUJCcjN1Z/FoiK5Fz4Nc5pfG TFmt+GQChRgWvn/iGrJkHZxG/vRE/QLb/Yv7PatQeKrRJVtDl/mepboIp9VwkeFC WRK5W8mxK+3CbVcmGIb8+iCgScd+pxcfm53yWzlpTWs+JPxuiFKe+qlHJAbz3Qm3 czJjKUKgPZWlAuY= Received: (qmail 103707 invoked by alias); 2 Jun 2016 13:34:26 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 103659 invoked by uid 89); 2 Jun 2016 13:34:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1399, HContent-Transfer-Encoding:7Bit, Best X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 02 Jun 2016 13:34:11 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4C63228; Thu, 2 Jun 2016 06:34:40 -0700 (PDT) Received: from e108577-lin.localnet (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D8CF33F212; Thu, 2 Jun 2016 06:34:09 -0700 (PDT) From: Thomas Preudhomme To: hubicka@ucw.cz Cc: ubizjak@gmail.com, jason@redhat.com, nathan@codesourcery.com, gcc-patches@gcc.gnu.org Subject: Re: [PATCH, libstdc++/testsuite, ping] 29_atomics/atomic/65913.cc: require atomic-builtins rather than specific target Date: Thu, 02 Jun 2016 14:34:03 +0100 Message-ID: <2866975.ctxglMszaX@e108577-lin> User-Agent: KMail/4.13.3 (Linux/3.13.0-85-generic; KDE/4.13.3; x86_64; ; ) In-Reply-To: <2446339.CApKStLQZQ@e108577-lin> References: <2446339.CApKStLQZQ@e108577-lin> MIME-Version: 1.0 X-IsSubscribed: yes Ping? On Thursday 26 May 2016 14:00:55 Thomas Preudhomme wrote: > [Sorry for the large recipient list, I wasn't sure who of C++ and x86 > maintainers should approve this] > > Hi, > > 29_atomics/atomic/65913.cc test in libstdc++ is a runtime test that only > rely on atomic and gnu++11 support. Therefore I propose to require > atomic-builtins instead of an x86 (32 or 64 bits) target. > > ChangeLog entry is as follows: > > 2016-05-19 Thomas Preud'homme > > * testsuite/29_atomics/atomic/65913.cc: Require atomic-builtins > rather than specific target. > > > Patch is in attachment. > > > Is this ok for trunk? > > Best regards, > > Thomas diff --git a/libstdc++-v3/testsuite/29_atomics/atomic/65913.cc b/libstdc++-v3/testsuite/29_atomics/atomic/65913.cc index 713ef42d03cb9f7c1e691995df2d0943e24036c3..32a58ec991b41c74aafab84deed2c543d72505f5 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic/65913.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic/65913.cc @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-do run { target x86_64-*-linux* powerpc*-*-linux* } } +// { dg-do run } +// { dg-require-atomic-builtins "" } // { dg-options "-std=gnu++11 -O0" } #include