From patchwork Sun Jan 16 20:56:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Carlini X-Patchwork-Id: 79101 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 37983B6EE9 for ; Mon, 17 Jan 2011 07:56:26 +1100 (EST) Received: (qmail 19409 invoked by alias); 16 Jan 2011 20:56:24 -0000 Received: (qmail 19393 invoked by uid 22791); 16 Jan 2011 20:56:23 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from vsmtp2.tin.it (HELO vsmtp2.tin.it) (212.216.176.222) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 16 Jan 2011 20:56:17 +0000 Received: from [192.168.0.4] (79.53.13.186) by vsmtp2.tin.it (8.0.022) id 4CFE5406033E1670; Sun, 16 Jan 2011 21:56:15 +0100 Message-ID: <4D335B6E.4040700@oracle.com> Date: Sun, 16 Jan 2011 21:56:14 +0100 From: Paolo Carlini User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: libstdc++ Subject: [v3] libstdc++/47320 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. Paolo. ///////////////////// 2011-01-16 Paolo Carlini PR libstdc++/47320 * testsuite/18_support/numeric_limits/lowest.cc: Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined. Index: testsuite/18_support/numeric_limits/lowest.cc =================================================================== --- testsuite/18_support/numeric_limits/lowest.cc (revision 168870) +++ testsuite/18_support/numeric_limits/lowest.cc (working copy) @@ -3,7 +3,7 @@ // 2010-02-25 Ed Smith-Rowland -// Copyright (C) 2010 Free Software Foundation +// Copyright (C) 2010, 2011 Free Software Foundation // // 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 @@ -54,7 +54,9 @@ do_test(); do_test(); do_test(); +#ifdef _GLIBCXX_USE_WCHAR_T do_test(); +#endif do_test(); do_test();