public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-2357] AArch64: Fix bootstrap failure due to dump_printf_loc format attribute uses [PR106782]
@ 2022-09-01 21:05 Tamar Christina
0 siblings, 0 replies; only message in thread
From: Tamar Christina @ 2022-09-01 21:05 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b98c5262d02c13cdbbf3b985859b436adec94d90
commit r13-2357-gb98c5262d02c13cdbbf3b985859b436adec94d90
Author: Tamar Christina <tamar.christina@arm.com>
Date: Thu Sep 1 22:04:57 2022 +0100
AArch64: Fix bootstrap failure due to dump_printf_loc format attribute uses [PR106782]
This fixes the bootstrap failure on AArch64 following -Werror=format by
correcting the print format modifiers in the backend.
gcc/ChangeLog:
PR other/106782
* config/aarch64/aarch64.cc
(aarch64_vector_costs::prefer_unrolled_loop): Replace %u with
HOST_WIDE_INT_PRINT_UNSIGNED.
Diff:
---
gcc/config/aarch64/aarch64.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/config/aarch64/aarch64.cc b/gcc/config/aarch64/aarch64.cc
index 4b486aeea90..f199e77cd42 100644
--- a/gcc/config/aarch64/aarch64.cc
+++ b/gcc/config/aarch64/aarch64.cc
@@ -16671,7 +16671,8 @@ aarch64_vector_costs::prefer_unrolled_loop () const
if (dump_enabled_p ())
dump_printf_loc (MSG_NOTE, vect_location, "Number of insns in"
- " unrolled Advanced SIMD loop = %d\n",
+ " unrolled Advanced SIMD loop = "
+ HOST_WIDE_INT_PRINT_UNSIGNED "\n",
m_unrolled_advsimd_stmts);
/* The balance here is tricky. On the one hand, we can't be sure whether
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-01 21:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-01 21:05 [gcc r13-2357] AArch64: Fix bootstrap failure due to dump_printf_loc format attribute uses [PR106782] Tamar Christina
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).