From e584e50152ea99c4f44f48a79a308cba7645c241 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20Schl=C3=BCter?= Date: Tue, 18 May 2004 18:48:09 +0200 Subject: [PATCH] * trans-const.c (gfc_conv_mpf_to_tree): Fix typo. From-SVN: r81997 --- gcc/fortran/ChangeLog | 6 +++++- gcc/fortran/trans-const.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 2cfe50d..a5a1f4b 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,4 +1,8 @@ -2004-05-17 Steve Kargl +2004-05-18 Tobias Schlueter + + * trans-const.c (gfc_conv_mpf_to_tree): Fix typo. + +2004-05-18 Steve Kargl * arith.c (gfc_int2complex): Fix incorrect range checking. diff --git a/gcc/fortran/trans-const.c b/gcc/fortran/trans-const.c index 6e68652..13f6b83 100644 --- a/gcc/fortran/trans-const.c +++ b/gcc/fortran/trans-const.c @@ -252,7 +252,7 @@ gfc_conv_mpf_to_tree (mpf_t f, int kind) assert (gfc_real_kinds[n].radix == 2); n = MAX (abs (gfc_real_kinds[n].min_exponent), - abs (gfc_real_kinds[n].min_exponent)); + abs (gfc_real_kinds[n].max_exponent)); #if 0 edigits = 2 + (int) (log (n) / log (gfc_real_kinds[n].radix)); #endif -- 2.7.4