[gcc r12-6675] Fix -Wformat-diag for s390x-ibm-tpf.

Martin Liska marxin@gcc.gnu.org
Tue Jan 18 13:45:41 GMT 2022


https://gcc.gnu.org/g:7402e40a2e2f5eac4489d28ac696e15c88c07f51

commit r12-6675-g7402e40a2e2f5eac4489d28ac696e15c88c07f51
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Jan 12 14:06:57 2022 +0100

    Fix -Wformat-diag for s390x-ibm-tpf.
    
    gcc/ChangeLog:
    
            * config/s390/s390.cc: Fix -Wformat-diag warnings.

Diff:
---
 gcc/config/s390/s390.cc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/config/s390/s390.cc b/gcc/config/s390/s390.cc
index f01755687d9..43c5c72554a 100644
--- a/gcc/config/s390/s390.cc
+++ b/gcc/config/s390/s390.cc
@@ -15606,16 +15606,16 @@ s390_option_override_internal (struct gcc_options *opts,
 
 #if TARGET_TPF != 0
   if (!CONST_OK_FOR_J (opts->x_s390_tpf_trace_hook_prologue_check))
-    error ("-mtpf-trace-hook-prologue-check requires integer in range 0..4095");
+    error ("%<-mtpf-trace-hook-prologue-check%> requires integer in range 0-4095");
 
   if (!CONST_OK_FOR_J (opts->x_s390_tpf_trace_hook_prologue_target))
-    error ("-mtpf-trace-hook-prologue-target requires integer in range 0..4095");
+    error ("%<-mtpf-trace-hook-prologue-target%> requires integer in range 0-4095");
 
   if (!CONST_OK_FOR_J (opts->x_s390_tpf_trace_hook_epilogue_check))
-    error ("-mtpf-trace-hook-epilogue-check requires integer in range 0..4095");
+    error ("%<-mtpf-trace-hook-epilogue-check%> requires integer in range 0-4095");
 
   if (!CONST_OK_FOR_J (opts->x_s390_tpf_trace_hook_epilogue_target))
-    error ("-mtpf-trace-hook-epilogue-target requires integer in range 0..4095");
+    error ("%<-mtpf-trace-hook-epilogue-target%> requires integer in range 0-4095");
 
   if (s390_tpf_trace_skip)
     {


More information about the Gcc-cvs mailing list