public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6675] Fix -Wformat-diag for s390x-ibm-tpf.
@ 2022-01-18 13:45 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-01-18 13:45 UTC (permalink / raw)
To: gcc-cvs
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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-18 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-18 13:45 [gcc r12-6675] Fix -Wformat-diag for s390x-ibm-tpf Martin Liska
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).