aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/trans.c')
-rw-r--r--gcc/fortran/trans.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fortran/trans.c b/gcc/fortran/trans.c
index 8acccf8..3a25bcc 100644
--- a/gcc/fortran/trans.c
+++ b/gcc/fortran/trans.c
@@ -704,7 +704,7 @@ gfc_allocate_with_status (stmtblock_t * block, tree size, tree status)
return mem;
}
else
- runtime_error ("Attempting to allocate already allocated array");
+ runtime_error ("Attempting to allocate already allocated variable");
}
}
@@ -743,13 +743,13 @@ gfc_allocate_array_with_status (stmtblock_t * block, tree mem, tree size,
error = gfc_trans_runtime_error (true, &expr->where,
"Attempting to allocate already"
- " allocated array '%s'",
+ " allocated variable '%s'",
varname);
}
else
error = gfc_trans_runtime_error (true, NULL,
"Attempting to allocate already allocated"
- "array");
+ "variable");
if (status != NULL_TREE && !integer_zerop (status))
{