public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3295] Fortran - improve wording of error message
@ 2021-09-01 17:06 Harald Anlauf
0 siblings, 0 replies; only message in thread
From: Harald Anlauf @ 2021-09-01 17:06 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a88280cff3436d0b6ab454514e5a3b97a543e9a5
commit r12-3295-ga88280cff3436d0b6ab454514e5a3b97a543e9a5
Author: Harald Anlauf <anlauf@gmx.de>
Date: Wed Sep 1 19:05:47 2021 +0200
Fortran - improve wording of error message
gcc/fortran/ChangeLog:
PR fortran/56985
* resolve.c (resolve_common_vars): Fix grammar and improve wording
of error message rejecting an unlimited polymorphic in COMMON.
Diff:
---
gcc/fortran/resolve.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c
index d7aa2868cef..8e5ed1c032c 100644
--- a/gcc/fortran/resolve.c
+++ b/gcc/fortran/resolve.c
@@ -979,7 +979,7 @@ resolve_common_vars (gfc_common_head *common_block, bool named_common)
}
if (UNLIMITED_POLY (csym))
- gfc_error_now ("%qs in cannot appear in COMMON at %L "
+ gfc_error_now ("%qs at %L cannot appear in COMMON "
"[F2008:C5100]", csym->name, &csym->declared_at);
if (csym->ts.type != BT_DERIVED)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-01 17:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01 17:06 [gcc r12-3295] Fortran - improve wording of error message Harald Anlauf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).