https://gcc.gnu.org/g:86a40038e2ac840b3b7e890df107139670bb4646

commit r17-5461-g86a40038e2ac840b3b7e890df107139670bb4646
Author: Jose E. Marchesi <[email protected]>
Date:   Wed Oct 21 16:00:28 2026 +0200

    a68: fix -Wformat-diag warning
    
    Signed-off-by: Jose E. Marchesi <[email protected]>
    
    gcc/algol68/ChangeLog
    
            * a68-lang.cc (a68_post_options): Fix diagnostic format.

Diff:
---
 gcc/algol68/a68-lang.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/algol68/a68-lang.cc b/gcc/algol68/a68-lang.cc
index 2f6d837acd94..6bed9f1c1f59 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;
 }

Reply via email to