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 2cfe50d1314..a5a1f4b21e9 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 6e6865202e8..13f6b83c8b3 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.30.2