From 1617fc4479fc116ee49a76226ed8919d02531f8a Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 1 Jul 2020 15:11:54 -0400 Subject: [PATCH] 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 _(). --- gcc/fortran/check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2