summaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-const.c
diff options
context:
space:
mode:
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-27 14:49:35 +0000
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-27 14:49:35 +0000
commitb8a891cb5d4cde1adc1ab977b39c3cbab2dc9c28 (patch)
tree55ec01c924dd426981ff9999706252413e684560 /gcc/fortran/trans-const.c
parentd1d78ccbee3251c3ba23d3fc60ad675def86e0d4 (diff)
downloadgcc-b8a891cb5d4cde1adc1ab977b39c3cbab2dc9c28.tar.gz
* gfortran.h (gfc_default_*_kind): Remove prototypes, add extern
variable declaration of same name. * arith.c, check.c, decl.c, dump_parse_tree.c, expr.c, intrinsic.c, io.c, iresolve.c, match.c, options.c, primary.c, resolve.c, simplify.c, symbol.c, trans-const.c, trans-io.c: Replace all calls to gfc_default_*_kind with variable accesses. * trans-types.c: Same as above. (gfc_default_*_kind_1): Rename to gfc_default_*_kind, remove static qualifier. Replace all occurences. (gfc_default_*_kind): Remove functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86662 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/trans-const.c')
-rw-r--r--gcc/fortran/trans-const.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/trans-const.c b/gcc/fortran/trans-const.c
index 8ea0d5cc119..56687273e17 100644
--- a/gcc/fortran/trans-const.c
+++ b/gcc/fortran/trans-const.c
@@ -252,7 +252,7 @@ gfc_conv_mpfr_to_tree (mpfr_t f, int kind)
edigits += 3;
}
- if (kind == gfc_default_double_kind())
+ if (kind == gfc_default_double_kind)
p = mpfr_get_str (NULL, &exp, 10, 17, f, GFC_RND_MODE);
else
p = mpfr_get_str (NULL, &exp, 10, 8, f, GFC_RND_MODE);