* [pushed] Darwin : Address a translation comment.
@ 2021-03-23 20:08 Iain Sandoe
0 siblings, 0 replies; only message in thread
From: Iain Sandoe @ 2021-03-23 20:08 UTC (permalink / raw)
To: GCC-patches
Hi
I modified the diagnostic message to avoid a build-time warning
omitting a colon intentionally; since that has produced a translation
comment, this adds the colon back.
tested with a build of host-darwin (produces no build-time diagnostic).
pushed to master,
thanks
Iain
----
Add a ':' to make the diagnostic read 'pch_address_space': xxx.
gcc/ChangeLog:
PR target/99733
* config/host-darwin.c (darwin_gt_pch_use_address): Add a
colon to the diagnostic message.
---
gcc/config/host-darwin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/host-darwin.c b/gcc/config/host-darwin.c
index b101fca5c96..14a01fe71f2 100644
--- a/gcc/config/host-darwin.c
+++ b/gcc/config/host-darwin.c
@@ -62,7 +62,7 @@ darwin_gt_pch_use_address (void *addr, size_t sz, int fd, size_t off)
if (munmap (pch_address_space + sz, sizeof (pch_address_space) - sz) != 0)
fatal_error (input_location,
- "could not unmap %<pch_address_space%> %m");
+ "could not unmap %<pch_address_space%>: %m");
if (ret)
{
--
2.24.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-23 20:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 20:08 [pushed] Darwin : Address a translation comment Iain Sandoe
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).