aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/symbol.c
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2015-12-09 20:29:46 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2015-12-09 20:29:46 +0100
commit811582ec147f4eb722b75578faba4a94c5cfd829 (patch)
tree6aca1041926ede1a67f736435d11018ecdd9644e /gcc/fortran/symbol.c
parent1326155711cd4af6bdbf347b51e2a7337cf07414 (diff)
downloadgcc-811582ec147f4eb722b75578faba4a94c5cfd829.zip
gcc-811582ec147f4eb722b75578faba4a94c5cfd829.tar.gz
gcc-811582ec147f4eb722b75578faba4a94c5cfd829.tar.bz2
re PR fortran/68815 (Error/warning diagnostic: '%s' should be converted to %qs-like or %<%s%>-like string strings)
2015-12-09 Tobias Burnus <burnus@net-b.de> PR fortran/68815 * decl.c (gfc_verify_c_interop_param, variable_decl): Use %< ... %> for quoting in diagnostics. * io.c (check_format): Ditto. * resolve.c (resolve_operator): Ditto. * symbol.c (check_conflict): Ditto. * trans-common.c (translate_common): Ditto. From-SVN: r231472
Diffstat (limited to 'gcc/fortran/symbol.c')
-rw-r--r--gcc/fortran/symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/symbol.c b/gcc/fortran/symbol.c
index ff9aff9..311f743 100644
--- a/gcc/fortran/symbol.c
+++ b/gcc/fortran/symbol.c
@@ -465,7 +465,7 @@ check_conflict (symbol_attribute *attr, const char *name, locus *where)
if (attr->dummy && ((attr->function || attr->subroutine) &&
gfc_current_state () == COMP_CONTAINS))
- gfc_error_now ("internal procedure '%s' at %L conflicts with "
+ gfc_error_now ("internal procedure %qs at %L conflicts with "
"DUMMY argument", name, where);
conf (dummy, entry);