bootstrap: Don't translate assignment to hint[].

error array must be initialized with a brace-enclosed initializer

gcc/fortran/ChangeLog

2020-07-01  David Edelsohn  <dje.gcc@gmail.com>

	* check.c (gfc_invalid_boz): Fix bootstrap. Revert
	Mark hint for translation using _().
This commit is contained in:
David Edelsohn 2020-07-01 15:11:54 -04:00
parent b260e9123e
commit 1617fc4479

View file

@ -67,7 +67,7 @@ gfc_invalid_boz (const char *msg, locus *loc)
return false;
}
const char hint[] = _(" [see %<-fno-allow-invalid-boz%>]");
const char hint[] = " [see %<-fno-allow-invalid-boz%>]";
size_t len = strlen (msg) + strlen (hint) + 1;
char *msg2 = (char *) alloca (len);
strcpy (msg2, msg);