tree-ssa-strlen.c (maybe_invalidate): Use HOST_WIDE_INT_PRINT_UNSIGNED instead of...
authorJakub Jelinek <jakub@redhat.com>
Wed, 16 Oct 2019 22:18:31 +0000 (00:18 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 16 Oct 2019 22:18:31 +0000 (00:18 +0200)
* tree-ssa-strlen.c (maybe_invalidate): Use
HOST_WIDE_INT_PRINT_UNSIGNED instead of "%zu".

From-SVN: r277083

gcc/ChangeLog
gcc/tree-ssa-strlen.c

index 5c56e0a..85b88cf 100644 (file)
@@ -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>
 
index ff9b92b..5c229ca 100644 (file)
@@ -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,