From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1580 invoked by alias); 17 Oct 2014 08:40:50 -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 1562 invoked by uid 89); 17 Oct 2014 08:40:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,FAKE_REPLY_C,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: outpost2.zedat.fu-berlin.de Received: from outpost2.zedat.fu-berlin.de (HELO outpost2.zedat.fu-berlin.de) (130.133.4.90) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 17 Oct 2014 08:40:47 +0000 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1Xf35Y-000BU9-CE>; Fri, 17 Oct 2014 10:40:44 +0200 Received: from mx.physik.fu-berlin.de ([160.45.64.218]) by relay1.zedat.fu-berlin.de (Exim 4.82) with esmtps (envelope-from ) id <1Xf35Y-0043dK-AR>; Fri, 17 Oct 2014 10:40:44 +0200 Received: from squeeze64.physik.fu-berlin.de ([160.45.66.239] helo=login.physik.fu-berlin.de) by mx.physik.fu-berlin.de with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xf35U-0007Jl-2f; Fri, 17 Oct 2014 10:40:40 +0200 Received: from tburnus by login.physik.fu-berlin.de with local (Exim 4.72 #1 (Debian)) id 1Xf35U-0001kl-06; Fri, 17 Oct 2014 10:40:40 +0200 Date: Fri, 17 Oct 2014 08:42:00 -0000 From: Tobias Burnus To: FX , gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org Subject: Re: [fortran,patch] Handle infinities and NaNs in intrinsics code generation Message-ID: <20141017084039.GA28782@physik.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <66D0CEBF-7483-4CEA-8D00-931FFFD697FF@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-SW-Source: 2014-10/txt/msg01673.txt.bz2 Hi FX, FX wrote: > After the compile-time simplification, this patch fixes the handling of special values > (infinities and NaNs) by intrinsics EXPONENT, FRACTION, SPACING, RRSPACING & SET_EXPONENT > Bootstrapped and regtested on x86_64-linux. > OK to commit? Looks good to me. Thanks for taking care of F2003's IEEE support. Tobias PS: You might want to browse through the current (F2008 + corrigenda + first F2015 additions) draft at http://j3-fortran.org/doc/year/14/14-007r2.pdf See especially the list at the beginning under the item "Changes to the intrinsic modules IEEE_ARITHMETIC, IEEE_EXCEPTIONS, and IEEE_FEATURES for conformance with ISO/IEC/IEEE 60559:2011: [...]" and then later in that file. Everthing which is in the draft is very likely to be in the final version but of course not guranteed to be so.