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  <s...@troutmask.apl.washington.edu>
            Francois-Xavier Coudert  <fxcoud...@gcc.gnu.org>
            Dominique d'Humieres  <domi...@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

Reply via email to