diff options
Diffstat (limited to 'gcc/fortran/expr.c')
-rw-r--r-- | gcc/fortran/expr.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c index bc318f7..965214b 100644 --- a/gcc/fortran/expr.c +++ b/gcc/fortran/expr.c @@ -6060,12 +6060,14 @@ gfc_check_vardef_context (gfc_expr* e, bool pointer, bool alloc_obj, if (context) { if (assoc->target->expr_type == EXPR_VARIABLE) - gfc_error ("%qs at %L associated to vector-indexed target can" - " not be used in a variable definition context (%s)", + gfc_error ("%qs at %L associated to vector-indexed target" + " cannot be used in a variable definition" + " context (%s)", name, &e->where, context); else - gfc_error ("%qs at %L associated to expression can" - " not be used in a variable definition context (%s)", + gfc_error ("%qs at %L associated to expression" + " cannot be used in a variable definition" + " context (%s)", name, &e->where, context); } return false; |