]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
fortran: Replace double space in diagnostic with a single one [PR99300]
authorJakub Jelinek <jakub@redhat.com>
Sun, 28 Feb 2021 10:14:24 +0000 (11:14 +0100)
committerJakub Jelinek <jakub@redhat.com>
Sun, 28 Feb 2021 10:14:24 +0000 (11:14 +0100)
The diagnostic had "  " in it instead of just " ".

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

index 63ee7b9cd50d989dc52fa374cf40f2c190362aee..2b9c2d179bb3e4ce3c02527b4fb4a4ac5b81ab5d 100644 (file)
@@ -2648,7 +2648,7 @@ doloop_code (gfc_code **c, int *walk_subtrees ATTRIBUTE_UNUSED,
                {
                  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),