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/expr.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/expr.c')
-rw-r--r-- | gcc/fortran/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c index 0539b65..f981185 100644 --- a/gcc/fortran/expr.c +++ b/gcc/fortran/expr.c @@ -524,7 +524,7 @@ gfc_int_expr (int i) p->expr_type = EXPR_CONSTANT; p->ts.type = BT_INTEGER; - p->ts.kind = gfc_default_integer_kind (); + p->ts.kind = gfc_default_integer_kind; p->where = gfc_current_locus; mpz_init_set_si (p->value.integer, i); @@ -544,7 +544,7 @@ gfc_logical_expr (int i, locus * where) p->expr_type = EXPR_CONSTANT; p->ts.type = BT_LOGICAL; - p->ts.kind = gfc_default_logical_kind (); + p->ts.kind = gfc_default_logical_kind; if (where == NULL) where = &gfc_current_locus; |