From patchwork Wed Nov 24 10:10:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Carlini X-Patchwork-Id: 72827 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]) by ozlabs.org (Postfix) with SMTP id C45E1B70A5 for ; Wed, 24 Nov 2010 21:12:09 +1100 (EST) Received: (qmail 892 invoked by alias); 24 Nov 2010 10:12:03 -0000 Received: (qmail 884 invoked by uid 22791); 24 Nov 2010 10:12:02 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from rcsinet10.oracle.com (HELO rcsinet10.oracle.com) (148.87.113.121) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 24 Nov 2010 10:11:57 +0000 Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAOABrlV001868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 24 Nov 2010 10:11:55 GMT Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oANL0G2F027354 for ; Wed, 24 Nov 2010 10:11:51 GMT Received: from abhmt017.oracle.com by acsmt353.oracle.com with ESMTP id 809222511290593458; Wed, 24 Nov 2010 02:10:58 -0800 Received: from macbook-pro-di-paolo-carlini.local (/137.204.203.222) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 24 Nov 2010 02:10:58 -0800 Message-ID: <4CECE4AD.1010700@oracle.com> Date: Wed, 24 Nov 2010 11:10:53 +0100 From: Paolo Carlini User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; it; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Gcc Patch List CC: libstdc++ Subject: [v3] Add a few missing dg-require* in 30_threads X-IsSubscribed: yes 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 Hi, noticed while regtesting on darwin. Committed to mainline. Paolo. ///////////// 2010-11-24 Paolo Carlini * testsuite/30_threads/future/cons/constexpr.cc: Add dg-require* directives. * testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise. Index: testsuite/30_threads/shared_future/cons/constexpr.cc =================================================================== --- testsuite/30_threads/shared_future/cons/constexpr.cc (revision 167108) +++ testsuite/30_threads/shared_future/cons/constexpr.cc (working copy) @@ -1,5 +1,8 @@ // { dg-do compile } // { dg-options "-std=gnu++0x -fno-inline -save-temps" } +// { dg-require-cstdint "" } +// { dg-require-gthreads "" } +// { dg-require-atomic-builtins "" } // { dg-final { scan-assembler-not "_ZNSt13shared_futureIvEC2Ev" } } // { dg-final { scan-assembler-not "_ZNSt13shared_futureIiEC2Ev" } } Index: testsuite/30_threads/future/cons/constexpr.cc =================================================================== --- testsuite/30_threads/future/cons/constexpr.cc (revision 167108) +++ testsuite/30_threads/future/cons/constexpr.cc (working copy) @@ -1,5 +1,8 @@ // { dg-do compile } // { dg-options "-std=gnu++0x -fno-inline -save-temps" } +// { dg-require-cstdint "" } +// { dg-require-gthreads "" } +// { dg-require-atomic-builtins "" } // { dg-final { scan-assembler-not "_ZNSt6futureIvEC2Ev" } } // { dg-final { scan-assembler-not "_ZNSt6futureIiEC2Ev" } }