From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110791 invoked by alias); 29 Jan 2016 08:27:56 -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 110776 invoked by uid 89); 29 Jan 2016 08:27:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=Hx-languages-length:1608, indeterminate X-HELO: e06smtp10.uk.ibm.com Received: from e06smtp10.uk.ibm.com (HELO e06smtp10.uk.ibm.com) (195.75.94.106) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 29 Jan 2016 08:27:54 +0000 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 29 Jan 2016 08:27:51 -0000 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 29 Jan 2016 08:27:49 -0000 X-IBM-Helo: d06dlp02.portsmouth.uk.ibm.com X-IBM-MailFrom: vogt@linux.vnet.ibm.com X-IBM-RcptTo: gcc-patches@gcc.gnu.org Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 1AB562190023 for ; Fri, 29 Jan 2016 08:27:36 +0000 (GMT) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u0T8Rm754325694 for ; Fri, 29 Jan 2016 08:27:48 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u0T8Rmso022462 for ; Fri, 29 Jan 2016 01:27:48 -0700 Received: from bl3ahm9f.de.ibm.com (sig-9-84-135-133.evts.de.ibm.com [9.84.135.133]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u0T8RmT4022447; Fri, 29 Jan 2016 01:27:48 -0700 Received: from dvogt by bl3ahm9f.de.ibm.com with local (Exim 4.76) (envelope-from ) id 1aP4PC-00017b-L6; Fri, 29 Jan 2016 09:27:46 +0100 Date: Fri, 29 Jan 2016 08:27:00 -0000 From: Dominik Vogt To: gcc-patches@gcc.gnu.org Cc: Jakub Jelinek , Andreas Krebbel , Jonathan Wakely Subject: Re: [PATCH] PR c++/69462: Provide FLT_EVAL_METHOD and DECIMAL_DIG in float.h. Message-ID: <20160129082746.GA3844@linux.vnet.ibm.com> Reply-To: vogt@linux.vnet.ibm.com Mail-Followup-To: vogt@linux.vnet.ibm.com, gcc-patches@gcc.gnu.org, Jakub Jelinek , Andreas Krebbel , Jonathan Wakely References: <20160128124012.GA19249@linux.vnet.ibm.com> <20160128144129.GC3017@tucnak.redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: <20160128144129.GC3017@tucnak.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16012908-0041-0000-0000-000007182455 X-SW-Source: 2016-01/txt/msg02277.txt.bz2 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 509 On Thu, Jan 28, 2016 at 03:41:29PM +0100, Jakub Jelinek wrote: > On Thu, Jan 28, 2016 at 01:40:12PM +0100, Dominik Vogt wrote: > > -#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. Attached. Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=0001-v2-ChangeLog Content-length: 108 gcc/ChangeLog PR c++/69462 * ginclude/float.h: Also provide FLT_EVAL_METHOD and DECIMAL_DIG for C++-11. --ZGiS0Q5IWpPtfppv Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-v2-PR-c-69462-Provide-FLT_EVAL_METHOD-and-DECI.patch" Content-length: 950 >From dcaa02429122bd66916caf730b34b0f86d9b1a8f 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..862f7cc 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 floating-point expression evaluation method. -1 indeterminate 0 evaluate all operations and constants just to the range and -- 2.3.0 --ZGiS0Q5IWpPtfppv--