From e5b04038edcea3b3f65dec5bd34a0d018b45c1b1 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 17 Oct 2019 00:18:31 +0200 Subject: [PATCH] tree-ssa-strlen.c (maybe_invalidate): Use HOST_WIDE_INT_PRINT_UNSIGNED instead of "%zu". * tree-ssa-strlen.c (maybe_invalidate): Use HOST_WIDE_INT_PRINT_UNSIGNED instead of "%zu". From-SVN: r277083 --- gcc/ChangeLog | 5 +++++ gcc/tree-ssa-strlen.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5c56e0abfb9..85b88cf6ecb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-10-16 Jakub Jelinek + + * tree-ssa-strlen.c (maybe_invalidate): Use + HOST_WIDE_INT_PRINT_UNSIGNED instead of "%zu". + 2019-10-16 Andrew Burgess Jim Wilson diff --git a/gcc/tree-ssa-strlen.c b/gcc/tree-ssa-strlen.c index ff9b92b5b75..5c229ca7310 100644 --- a/gcc/tree-ssa-strlen.c +++ b/gcc/tree-ssa-strlen.c @@ -1130,7 +1130,8 @@ maybe_invalidate (gimple *stmt, bool zero_write = false) { if (size && tree_fits_uhwi_p (size)) fprintf (dump_file, - " statement may clobber string %zu long\n", + " statement may clobber string " + HOST_WIDE_INT_PRINT_UNSIGNED " long\n", tree_to_uhwi (size)); else fprintf (dump_file, -- 2.30.2