From eb9137dfe3201288352f40d5111609e1f6ccc85c Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Wed, 19 Aug 2015 08:26:43 +0000 Subject: [PATCH] [ARM] Use %wd format for lane printing in bounds_check * config/arm/arm.c (bounds_check): Use %wd print format for HOST_WIDE_INT arguments. From-SVN: r227002 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 32421c5dd30..62805bf6a82 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-08-19 Kyrylo Tkachov + + * config/arm/arm.c (bounds_check): Use %wd print format + for HOST_WIDE_INT arguments. + 2015-08-18 Trevor Saunders * bb-reorder.c, cfgloop.h, collect2.c, combine.c, dse.c, diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 57702cbc8de..da77244f186 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -12809,10 +12809,10 @@ bounds_check (rtx operand, HOST_WIDE_INT low, HOST_WIDE_INT high, if (lane < low || lane >= high) { if (exp) - error ("%K%s %lld out of range %lld - %lld", + error ("%K%s %wd out of range %wd - %wd", exp, desc, lane, low, high - 1); else - error ("%s %lld out of range %lld - %lld", desc, lane, low, high - 1); + error ("%s %wd out of range %wd - %wd", desc, lane, low, high - 1); } }