diff options
author | Tobias Schlüter <tobias.schlueter@physik.uni-muenchen.de> | 2004-08-27 16:49:35 +0200 |
---|---|---|
committer | Tobias Schlüter <tobi@gcc.gnu.org> | 2004-08-27 16:49:35 +0200 |
commit | 9d64df18fd9175749aea2742096b172f59a5ebeb (patch) | |
tree | 55ec01c924dd426981ff9999706252413e684560 /gcc/fortran/dump-parse-tree.c | |
parent | 0be27b59bcfdf82ce4193647111f331677cab237 (diff) | |
download | gcc-9d64df18fd9175749aea2742096b172f59a5ebeb.zip gcc-9d64df18fd9175749aea2742096b172f59a5ebeb.tar.gz gcc-9d64df18fd9175749aea2742096b172f59a5ebeb.tar.bz2 |
gfortran.h (gfc_default_*_kind): Remove prototypes, add extern variable declaration of same name.
* 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.
From-SVN: r86662
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
-rw-r--r-- | gcc/fortran/dump-parse-tree.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/fortran/dump-parse-tree.c b/gcc/fortran/dump-parse-tree.c index e5e56db..7af7a62 100644 --- a/gcc/fortran/dump-parse-tree.c +++ b/gcc/fortran/dump-parse-tree.c @@ -351,7 +351,7 @@ gfc_show_expr (gfc_expr * p) case BT_INTEGER: mpz_out_str (stdout, 10, p->value.integer); - if (p->ts.kind != gfc_default_integer_kind ()) + if (p->ts.kind != gfc_default_integer_kind) gfc_status ("_%d", p->ts.kind); break; @@ -364,7 +364,7 @@ gfc_show_expr (gfc_expr * p) case BT_REAL: mpfr_out_str (stdout, 10, 0, p->value.real, GFC_RND_MODE); - if (p->ts.kind != gfc_default_real_kind ()) + if (p->ts.kind != gfc_default_real_kind) gfc_status ("_%d", p->ts.kind); break; @@ -389,13 +389,13 @@ gfc_show_expr (gfc_expr * p) gfc_status ("(complex "); mpfr_out_str (stdout, 10, 0, p->value.complex.r, GFC_RND_MODE); - if (p->ts.kind != gfc_default_complex_kind ()) + if (p->ts.kind != gfc_default_complex_kind) gfc_status ("_%d", p->ts.kind); gfc_status (" "); mpfr_out_str (stdout, 10, 0, p->value.complex.i, GFC_RND_MODE); - if (p->ts.kind != gfc_default_complex_kind ()) + if (p->ts.kind != gfc_default_complex_kind) gfc_status ("_%d", p->ts.kind); gfc_status (")"); |