diff options
author | Dominique d'Humieres <dominiq@lps.ens.fr> | 2017-03-22 17:29:30 +0100 |
---|---|---|
committer | Dominique d'Humieres <dominiq@gcc.gnu.org> | 2017-03-22 17:29:30 +0100 |
commit | 2f029c0898b6c1afcfe31c9f459f1ff43e9cce3f (patch) | |
tree | 2feb2461ca530381301a8167867448f482e3fda8 /gcc/fortran/expr.c | |
parent | af181c91a9f33ecf355065bcfbfce66c9fb1e111 (diff) | |
download | gcc-2f029c0898b6c1afcfe31c9f459f1ff43e9cce3f.zip gcc-2f029c0898b6c1afcfe31c9f459f1ff43e9cce3f.tar.gz gcc-2f029c0898b6c1afcfe31c9f459f1ff43e9cce3f.tar.bz2 |
re PR fortran/79602 (translation: globally replace '%s' with %qs)
2017-03-22 Dominique d'Humieres <dominiq@lps.ens.fr>
PR fortran/79602
* decl.c: Replace '%s' with %qs.
* expr.c: Likewise.
* interface.c: Likewise.
* match.c: Likewise.
* primary.c: Likewise.
* resolve.c: Likewise.
PR fortran/79844
PR fortran/80011
* io.c: Remove trailing spaces.
* match.c: Likewise.
* openmp.c: Likewise.
* resolve.c: Likewise.
* trans-intrinsic.c: Likewise.
PR fortran/79853
* expr.c: Remove a double spaces.
PR fortran/79859
* primary.c: Remove spurious quotes around %qs.
From-SVN: r246391
Diffstat (limited to 'gcc/fortran/expr.c')
-rw-r--r-- | gcc/fortran/expr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c index f90bdc3..0e5f04d 100644 --- a/gcc/fortran/expr.c +++ b/gcc/fortran/expr.c @@ -2321,7 +2321,7 @@ check_inquiry (gfc_expr *e, int not_restricted) || ap->expr->symtree->n.sym->ts.deferred)) { gfc_error ("Assumed or deferred character length variable %qs " - " in constant expression at %L", + "in constant expression at %L", ap->expr->symtree->n.sym->name, &ap->expr->where); return MATCH_ERROR; @@ -2792,7 +2792,7 @@ external_spec_function (gfc_expr *e) /* F08:7.1.11.6. */ if (f->attr.recursive && !gfc_notify_std (GFC_STD_F2003, - "Specification function '%s' " + "Specification function %qs " "at %L cannot be RECURSIVE", f->name, &e->where)) return false; @@ -3591,7 +3591,7 @@ gfc_check_pointer_assign (gfc_expr *lvalue, gfc_expr *rvalue) if (!s1 && comp1 && comp1->attr.subroutine && s2 && s2->attr.function) { gfc_error ("Interface mismatch in procedure pointer assignment " - "at %L: '%s' is not a subroutine", &rvalue->where, name); + "at %L: %qs is not a subroutine", &rvalue->where, name); return false; } |