diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2015-08-19 08:26:43 +0000 |
---|---|---|
committer | Kyrylo Tkachov <ktkachov@gcc.gnu.org> | 2015-08-19 08:26:43 +0000 |
commit | eb9137dfe3201288352f40d5111609e1f6ccc85c (patch) | |
tree | 55ff33dcb908ca00f591f694d6281beb78610fd0 /gcc | |
parent | a79683d5f0104b9da2d6104d4910bbfcb0c63604 (diff) | |
download | gcc-eb9137dfe3201288352f40d5111609e1f6ccc85c.zip gcc-eb9137dfe3201288352f40d5111609e1f6ccc85c.tar.gz gcc-eb9137dfe3201288352f40d5111609e1f6ccc85c.tar.bz2 |
[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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 32421c5..62805bf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-08-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com> + + * config/arm/arm.c (bounds_check): Use %wd print format + for HOST_WIDE_INT arguments. + 2015-08-18 Trevor Saunders <tbsaunde@tbsaunde.org> * 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 57702cb..da77244 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); } } |