From: David Edelsohn Date: Wed, 1 Jul 2020 19:11:54 +0000 (-0400) Subject: bootstrap: Don't translate assignment to hint[]. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1617fc4479fc116ee49a76226ed8919d02531f8a;p=gcc.git 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 * check.c (gfc_invalid_boz): Fix bootstrap. Revert Mark hint for translation using _(). --- diff --git a/gcc/fortran/check.c b/gcc/fortran/check.c index d0ec3796f7b..26ea01f6544 100644 --- a/gcc/fortran/check.c +++ b/gcc/fortran/check.c @@ -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);