From patchwork Wed May 25 09:47:54 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Carlini X-Patchwork-Id: 97315 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 C3EF9B6F9C for ; Wed, 25 May 2011 19:47:26 +1000 (EST) Received: (qmail 31882 invoked by alias); 25 May 2011 09:47:25 -0000 Received: (qmail 31869 invoked by uid 22791); 25 May 2011 09:47:24 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtp209.alice.it (HELO smtp209.alice.it) (82.57.200.105) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 May 2011 09:47:09 +0000 Received: from [192.168.1.4] (79.51.25.12) by smtp209.alice.it (8.5.124.08) id 4D498EF309BD568A; Wed, 25 May 2011 11:47:08 +0200 Message-ID: <4DDCD04A.10700@oracle.com> Date: Wed, 25 May 2011 11:47:54 +0200 From: Paolo Carlini User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: libstdc++ Subject: [v3] libstdc++/49141 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, committed to mainline and 4_6-branch. Thanks, Paolo. //////////////////// 2011-05-24 Paolo Carlini PR libstdc++/49141 * testsuite/26_numerics/complex/cons/48760.cc: Use dg-require-c-std. * testsuite/26_numerics/complex/cons/48760_c++0x.cc: Likewise. * testsuite/26_numerics/headers/cmath/19322.cc: Likewise. Index: testsuite/26_numerics/complex/cons/48760.cc =================================================================== --- testsuite/26_numerics/complex/cons/48760.cc (revision 174112) +++ testsuite/26_numerics/complex/cons/48760.cc (working copy) @@ -1,3 +1,5 @@ +// { dg-require-c-std "" } + // Copyright (C) 2011 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free Index: testsuite/26_numerics/complex/cons/48760_c++0x.cc =================================================================== --- testsuite/26_numerics/complex/cons/48760_c++0x.cc (revision 174112) +++ testsuite/26_numerics/complex/cons/48760_c++0x.cc (working copy) @@ -1,4 +1,5 @@ // { dg-options "-std=gnu++0x" } +// { dg-require-c-std "" } // Copyright (C) 2011 Free Software Foundation, Inc. // Index: testsuite/26_numerics/headers/cmath/19322.cc =================================================================== --- testsuite/26_numerics/headers/cmath/19322.cc (revision 174112) +++ testsuite/26_numerics/headers/cmath/19322.cc (working copy) @@ -1,4 +1,6 @@ -// Copyright (C) 2005, 2009 Free Software Foundation, Inc. +// { dg-require-c-std "" } + +// Copyright (C) 2005, 2009, 2010, 2011 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -15,11 +17,9 @@ // with this library; see the file COPYING3. If not see // . - #include #include -#if _GLIBCXX_USE_C99_MATH // libstdc++/19322 void test01() { @@ -27,12 +27,9 @@ VERIFY( !std::isnan(3.0) ); } -#endif int main() { -#if _GLIBCXX_USE_C99_MATH test01(); -#endif return 0; }