Hi The avoids a contraction and a format diagnostic warning. (it’s debatable whether this is really a useful user-facing error - but leaving that to another day).
tested on x86_64-darwin, pushed to master, thanks Iain gcc/ChangeLog: * config/host-darwin.c (darwin_gt_pch_use_address): Modify diagnostic message to avoid use of a contraction and format warning. --- gcc/config/host-darwin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/config/host-darwin.c b/gcc/config/host-darwin.c index 1816c619511..b101fca5c96 100644 --- a/gcc/config/host-darwin.c +++ b/gcc/config/host-darwin.c @@ -61,7 +61,8 @@ darwin_gt_pch_use_address (void *addr, size_t sz, int fd, size_t off) sz = (sz + pagesize - 1) / pagesize * pagesize; if (munmap (pch_address_space + sz, sizeof (pch_address_space) - sz) != 0) - fatal_error (input_location, "couldn%'t unmap pch_address_space: %m"); + fatal_error (input_location, + "could not unmap %<pch_address_space%> %m"); if (ret) { -- 2.24.1