> Hi Jose,
>
>> diff --git a/gcc/algol68/a68-lang.cc b/gcc/algol68/a68-lang.cc
>> index cf39453f99f..2f6d837acd9 100644
>> --- a/gcc/algol68/a68-lang.cc
>> +++ b/gcc/algol68/a68-lang.cc
>> @@ -691,6 +691,11 @@ a68_post_options (const char **filename 
>> ATTRIBUTE_UNUSED)
>>    /* No psABI change warnings for Algol 68.  */
>>    warn_psabi = 0;
>>  
>> +  /* Check for incompatible combinations of comand-line options.  */
>> +  if (!OPTION_STRICT (&A68_JOB) && OPTION_BRACKETS (&A68_JOB))
>> +    fatal_error (UNKNOWN_LOCATION,
>> +             "%<-fbrackets%> can only be used with UPPER stroping.");
>> +
>
> this broke algol68 bootstrap:
>
> gcc/algol68/a68-lang.cc: In function �~@~Xbool a68_post_options(const 
> char**)�~@~Y:
> gcc/algol68/a68-lang.cc:697:70: error: spurious trailing punctuation sequence 
> �~@~X.�~@~Y in format [-Werror=format-diag]
>   697 |                  "%<-fbrackets%> can only be used with UPPER 
> stroping."); 
>       |                                                                      ^
>
>       Rainer

Oops sorry.

I just pushed the patch below to get rid of the trailing dot.

diff --git a/gcc/algol68/a68-lang.cc b/gcc/algol68/a68-lang.cc
index 2f6d837acd9..6bed9f1c1f5 100644
--- a/gcc/algol68/a68-lang.cc
+++ b/gcc/algol68/a68-lang.cc
@@ -694,7 +694,7 @@ a68_post_options (const char **filename ATTRIBUTE_UNUSED)
   /* Check for incompatible combinations of comand-line options.  */
   if (!OPTION_STRICT (&A68_JOB) && OPTION_BRACKETS (&A68_JOB))
     fatal_error (UNKNOWN_LOCATION,
-                "%<-fbrackets%> can only be used with UPPER stroping.");
+                "%<-fbrackets%> can only be used with UPPER stroping");
 
   return false;
 }
-- 
2.39.5

Reply via email to