aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/decl.c')
-rw-r--r--gcc/fortran/decl.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c
index 3a61fda..4ab5839 100644
--- a/gcc/fortran/decl.c
+++ b/gcc/fortran/decl.c
@@ -727,7 +727,7 @@ match_char_spec (gfc_typespec * ts)
gfc_expr *len;
match m;
- kind = gfc_default_character_kind ();
+ kind = gfc_default_character_kind;
len = NULL;
seen_length = 0;
@@ -891,7 +891,7 @@ match_type_spec (gfc_typespec * ts, int implicit_flag)
if (gfc_match (" integer") == MATCH_YES)
{
ts->type = BT_INTEGER;
- ts->kind = gfc_default_integer_kind ();
+ ts->kind = gfc_default_integer_kind;
goto get_kind;
}
@@ -907,35 +907,35 @@ match_type_spec (gfc_typespec * ts, int implicit_flag)
if (gfc_match (" real") == MATCH_YES)
{
ts->type = BT_REAL;
- ts->kind = gfc_default_real_kind ();
+ ts->kind = gfc_default_real_kind;
goto get_kind;
}
if (gfc_match (" double precision") == MATCH_YES)
{
ts->type = BT_REAL;
- ts->kind = gfc_default_double_kind ();
+ ts->kind = gfc_default_double_kind;
return MATCH_YES;
}
if (gfc_match (" complex") == MATCH_YES)
{
ts->type = BT_COMPLEX;
- ts->kind = gfc_default_complex_kind ();
+ ts->kind = gfc_default_complex_kind;
goto get_kind;
}
if (gfc_match (" double complex") == MATCH_YES)
{
ts->type = BT_COMPLEX;
- ts->kind = gfc_default_double_kind ();
+ ts->kind = gfc_default_double_kind;
return MATCH_YES;
}
if (gfc_match (" logical") == MATCH_YES)
{
ts->type = BT_LOGICAL;
- ts->kind = gfc_default_logical_kind ();
+ ts->kind = gfc_default_logical_kind;
goto get_kind;
}
@@ -1141,7 +1141,7 @@ gfc_match_implicit (void)
/* Check for CHARACTER with no length parameter. */
if (ts.type == BT_CHARACTER && !ts.cl)
{
- ts.kind = gfc_default_character_kind ();
+ ts.kind = gfc_default_character_kind;
ts.cl = gfc_get_charlen ();
ts.cl->next = gfc_current_ns->cl_list;
gfc_current_ns->cl_list = ts.cl;