AArch64: Fix bootstrap failure due to dump_printf_loc format attribute uses [PR106782]
authorTamar Christina <tamar.christina@arm.com>
Thu, 1 Sep 2022 21:04:57 +0000 (22:04 +0100)
committerTamar Christina <tamar.christina@arm.com>
Thu, 1 Sep 2022 21:04:57 +0000 (22:04 +0100)
commitb98c5262d02c13cdbbf3b985859b436adec94d90
tree3b1fdc5e1ec4841418ca9004b7dff1be5f39c3c8
parent8f8b9de6f40d057b4940776acafdeaef3e0a5eb1
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.
gcc/config/aarch64/aarch64.cc