From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62306 invoked by alias); 28 Jan 2016 14:41:38 -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 62292 invoked by uid 89); 28 Jan 2016 14:41:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=sk:vogt@li, U*vogt, vogt@linux.vnet.ibm.com, sk:vogtli 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 (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 28 Jan 2016 14:41:36 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 859EB19F26E; Thu, 28 Jan 2016 14:41:35 +0000 (UTC) Received: from tucnak.zalov.cz ([10.3.113.11]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0SEfYqN013455 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 28 Jan 2016 09:41:35 -0500 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id u0SEfU3N014713; Thu, 28 Jan 2016 15:41:31 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id u0SEfTYV014712; Thu, 28 Jan 2016 15:41:29 +0100 Date: Thu, 28 Jan 2016 14:41:00 -0000 From: Jakub Jelinek To: vogt@linux.vnet.ibm.com, gcc-patches@gcc.gnu.org, Andreas Krebbel , Jonathan Wakely Subject: Re: [PATCH] PR c++/69462: Provide FLT_EVAL_METHOD and DECIMAL_DIG in float.h. Message-ID: <20160128144129.GC3017@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <20160128124012.GA19249@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160128124012.GA19249@linux.vnet.ibm.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg02220.txt.bz2 On Thu, Jan 28, 2016 at 01:40:12PM +0100, Dominik Vogt wrote: > PR c++/69462 > * ginclude/float.h: Also provide FLT_EVAL_METHOD and DECIMAL_DIG for > C++-11. > >From 3b74be3a03105d608609f35b33bcf2ba43c0b5b9 Mon Sep 17 00:00:00 2001 > From: Dominik Vogt > Date: Mon, 25 Jan 2016 11:59:06 +0100 > Subject: [PATCH] PR c++/69462: Provide FLT_EVAL_METHOD and > DECIMAL_DIG in float.h. > > --- > gcc/ginclude/float.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/gcc/ginclude/float.h b/gcc/ginclude/float.h > index 18f5aac..100e88a 100644 > --- a/gcc/ginclude/float.h > +++ b/gcc/ginclude/float.h > @@ -127,7 +127,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see > #undef FLT_ROUNDS > #define FLT_ROUNDS 1 > > -#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L > +#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ > + || (defined (__cplusplus) && __cplusplus >= 201103L) The formatting is wrong, there is a tab before || when it should be aligned below defined on the previous line. Ok for trunk with that change. Jakub