diff options
Diffstat (limited to 'gcc/fortran/resolve.c')
-rw-r--r-- | gcc/fortran/resolve.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c index accb5a2..565e02b 100644 --- a/gcc/fortran/resolve.c +++ b/gcc/fortran/resolve.c @@ -1342,7 +1342,7 @@ resolve_structure_cons (gfc_expr *expr, int init) { t = false; gfc_error ("Pointer initialization target at %L " - "must not be ALLOCATABLE ", &cons->expr->where); + "must not be ALLOCATABLE", &cons->expr->where); } if (!a.save) { @@ -2469,7 +2469,7 @@ resolve_global_procedure (gfc_symbol *sym, locus *where, { gfc_error_opt (OPT_Wargument_mismatch, "Interface mismatch in global procedure %qs at %L:" - " %s ", sym->name, &sym->declared_at, reason); + " %s", sym->name, &sym->declared_at, reason); goto done; } @@ -12345,8 +12345,8 @@ resolve_fl_procedure (gfc_symbol *sym, int mp_flag) if (!gfc_check_result_characteristics (sym, iface, errmsg, 200)) { gfc_error ("%s between the MODULE PROCEDURE declaration " - "in MODULE '%s' and the declaration at %L in " - "(SUB)MODULE '%s'", + "in MODULE %qs and the declaration at %L in " + "(SUB)MODULE %qs", errmsg, module_name, &sym->declared_at, submodule_name ? submodule_name : module_name); return false; @@ -14729,7 +14729,7 @@ resolve_symbol (gfc_symbol *sym) for (; formal; formal = formal->next) if (formal->sym && formal->sym->attr.flavor == FL_NAMELIST) { - gfc_error ("Namelist '%s' can not be an argument to " + gfc_error ("Namelist %qs can not be an argument to " "subroutine or function at %L", formal->sym->name, &sym->declared_at); return; |