summaryrefslogtreecommitdiff
path: root/gcc/fortran/expr.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/expr.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/expr.c')
-rw-r--r--gcc/fortran/expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c
index 0539b6568ac..f9811857d7e 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;