[fortran, patch, committed] Adjust error message

Thomas Koenig tkoenig@netcologne.de
Fri Nov 2 20:22:00 GMT 2018


> Please remove the trailing whitespace (after "length 1").

Done (r265732).

2018-11-02  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/46020
	* decl.c (verify_bind_c_sym): Remove unnecessary space
	in error message.

Index: decl.c
===================================================================
--- decl.c      (Revision 265732)
+++ decl.c      (Arbeitskopie)
@@ -5648,7 +5648,7 @@ verify_bind_c_sym (gfc_symbol *tmp_sym, gfc_typesp
             || tmp_sym->ts.u.cl->length->expr_type != EXPR_CONSTANT
             || mpz_cmp_si (tmp_sym->ts.u.cl->length->value.integer, 1) 
!= 0)
           gfc_error ("Return type of BIND(C) function %qs of character "
-                    "type at %L must have length 1 ", tmp_sym->name,
+                    "type at %L must have length 1", tmp_sym->name,
                          &(tmp_sym->declared_at));
      }

Regards

	Thomas



More information about the Fortran mailing list