[committed] fortran: Replace double space in diagnostic with a single one [PR99300]

Jakub Jelinek jakub@redhat.com
Sun Feb 28 10:16:19 GMT 2021


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



More information about the Gcc-patches mailing list