From 86addb02662f8e726e4c18600c4774f08ee613cf Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sun, 30 Aug 2020 00:30:50 -0700 Subject: [PATCH] aarch64 : Cast print value per format description. Fixes a build fail. (cherry picked from commit 38ac493db36eac0e16a80a0cf30ddb431e7f80c7) Signed-off-by: Kirill A. Korinsky --- gcc/config/aarch64/falkor-tag-collision-avoidance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git gcc/config/aarch64/falkor-tag-collision-avoidance.c gcc/config/aarch64/falkor-tag-collision-avoidance.c index a96a3320e8f..a119e2b8f25 100644 --- gcc/config/aarch64/falkor-tag-collision-avoidance.c +++ gcc/config/aarch64/falkor-tag-collision-avoidance.c @@ -740,7 +740,7 @@ dump_insn_list (const rtx &t, const insn_info_list_t &insn_info, void *unused ATTRIBUTE_UNUSED) { gcc_assert (dump_file); - fprintf (dump_file, "Tag 0x%lx ::\n", INTVAL (t)); + fprintf (dump_file, "Tag 0x%lx ::\n", (long unsigned int)INTVAL (t)); for (unsigned i = 0; i < insn_info.length (); i++) dump_insn_slim (dump_file, insn_info[i]->insn); -- 2.42.1