diff options
author | Tobias Schlüter <tobi@gcc.gnu.org> | 2004-05-18 18:48:09 +0200 |
---|---|---|
committer | Tobias Schlüter <tobi@gcc.gnu.org> | 2004-05-18 18:48:09 +0200 |
commit | e584e50152ea99c4f44f48a79a308cba7645c241 (patch) | |
tree | 9b945aa186ef03ead8392bdefd8793236c5930d9 /gcc/fortran | |
parent | 1833df5cfe2cf85a9cf1de054ab53569f59e0ae5 (diff) | |
download | gcc-e584e50152ea99c4f44f48a79a308cba7645c241.zip gcc-e584e50152ea99c4f44f48a79a308cba7645c241.tar.gz gcc-e584e50152ea99c4f44f48a79a308cba7645c241.tar.bz2 |
* trans-const.c (gfc_conv_mpf_to_tree): Fix typo.
From-SVN: r81997
Diffstat (limited to 'gcc/fortran')
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | 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 <kargls@comcast.net> +2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> + + * trans-const.c (gfc_conv_mpf_to_tree): Fix typo. + +2004-05-18 Steve Kargl <kargls@comcast.net> * 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 |