This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch,fortran] Handle (signed) zeros, infinities and NaNs in some intrinsics
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: FX <fxcoudert at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, fortran List <fortran at gcc dot gnu dot org>
- Date: Sat, 11 Oct 2014 08:34:24 -0700
- Subject: Re: [patch,fortran] Handle (signed) zeros, infinities and NaNs in some intrinsics
- Authentication-results: sourceware.org; auth=none
- References: <0EE292BF-466F-46A9-9D93-2EFFCB68A39C at gmail dot com>
On Sat, Oct 11, 2014 at 03:13:00PM +0200, FX wrote:
> The attached patch fixes the compile-time simplification of special
> values (positive and negative zeros, infinities, and NaNs) in
> intrinsics EXPONENT, FRACTION, RRSPACING, SET_EXPONENT, SPACING.
> Those are all the intrinsics in the Fortran 2008 standard that say
> anything about these special values, so it makes sense to fix them.
> This is the compile-time part of PR 48979
> (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48979).
>
Looks ok to me.
--
Steve