* [PATCH] Fix -Wformat-diag for s390x-ibm-tpf.
@ 2022-01-12 13:08 Martin Liška
0 siblings, 0 replies; only message in thread
From: Martin Liška @ 2022-01-12 13:08 UTC (permalink / raw)
To: gcc-patches
This one is related to s390x-ibm-tpf -Wformat-diag warnings.
Ready to be installed?
Thanks,
Martin
gcc/ChangeLog:
* config/s390/s390.c: Fix -Wformat-diag warnings.
---
gcc/config/s390/s390.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index bf96cbf7588..968672bb42b 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -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)
{
--
2.34.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-12 13:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-12 13:08 [PATCH] Fix -Wformat-diag for s390x-ibm-tpf Martin Liška
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).