diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-10-17 00:18:31 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-10-17 00:18:31 +0200 |
commit | e5b04038edcea3b3f65dec5bd34a0d018b45c1b1 (patch) | |
tree | 3214e165c4b8f58835259aeb79e3b06513a219b2 | |
parent | 3599dfbaa22b95ecabd3da9ba68ad4bb4f1124a4 (diff) | |
download | gcc-e5b04038edcea3b3f65dec5bd34a0d018b45c1b1.zip gcc-e5b04038edcea3b3f65dec5bd34a0d018b45c1b1.tar.gz gcc-e5b04038edcea3b3f65dec5bd34a0d018b45c1b1.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-strlen.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5c56e0a..85b88cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-10-16 Jakub Jelinek <jakub@redhat.com> + + * tree-ssa-strlen.c (maybe_invalidate): Use + HOST_WIDE_INT_PRINT_UNSIGNED instead of "%zu". + 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com> Jim Wilson <jimw@sifive.com> diff --git a/gcc/tree-ssa-strlen.c b/gcc/tree-ssa-strlen.c index ff9b92b..5c229ca 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, |