public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] fortran: Replace double space in diagnostic with a single one [PR99300]
@ 2021-02-28 10:16 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2021-02-28 10:16 UTC (permalink / raw)
  To: gcc-patches, fortran

Hi!

The diagnostic had "  " in it instead of just " ".

Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk as
obvious.

2021-02-28  Jakub Jelinek  <jakub@redhat.com>

	PR fortran/99300
	* frontend-passes.c (doloop_code): Replace double space in diagnostics
	with a single space.

--- gcc/fortran/frontend-passes.c.jj	2021-01-16 22:52:33.617413820 +0100
+++ gcc/fortran/frontend-passes.c	2021-02-27 17:57:21.956841765 +0100
@@ -2648,7 +2648,7 @@ doloop_code (gfc_code **c, int *walk_sub
 		{
 		  if (f->sym->attr.intent == INTENT_OUT)
 		    gfc_error_now ("Variable %qs at %L set to undefined "
-				   "value inside loop  beginning at %L as "
+				   "value inside loop beginning at %L as "
 				   "INTENT(OUT) argument to subroutine %qs",
 				   do_sym->name, &a->expr->where,
 				   &(doloop_list[i].c->loc),


	Jakub


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-28 10:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-28 10:16 [committed] fortran: Replace double space in diagnostic with a single one [PR99300] Jakub Jelinek

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).