[Patch, Fortran] PR52413 - Incorrect behavior of FRACTION when applied to a constant
Tobias Burnus
burnus@net-b.de
Mon Jun 24 08:49:00 GMT 2013
Dominique Dhumieres wrote:
> This patch packages the Steven G. Kargl's patch when MPFR 3.1.0 or newer
> is available and fixes the original code for older versions using the
> FX Coudert's machinery (see PR for details).
>
> Tested on powerpc-apple-darwin9 and x86_64-apple-darwin10 without
> regression.
>
> OK for the trunk? If yes, could someone commit it for me?
OK. Thanks for the patches Steve and FX - and to Dominique for combining
the two and creating the test case.
I have committed it as Rev. 200361.
> 2013-06-23 Steven G. Kargl <sgk@troutmask.apl.washington.edu>
> Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
> Dominique d'Humieres <dominiq@lps.ens.fr>
>
> PR fortran/52413
> * simplify.c: Fix the sign of negative values in gfc_simplify_fraction.
The syntax is to place the function name in parentheses, i.e.
* simplify.c (gfc_simplify_fraction): Fix the sign of negative values.
Tobias
More information about the Fortran
mailing list