aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/aarch64/aarch64.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 49cd8c7..f9cf115 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-14 Shiva Chen <shiva0217@gmail.com>
+
+ * aarch64.c (aarch64_simd_lane_bounds): Change %ld to %wd for
+ HOST_WIDE_INT parameter.
+
2015-06-14 Jan Hubicka <hubicka@ucw.cz>
PR ipa/66181
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index c3c2795..0a0ad34 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -8890,9 +8890,9 @@ aarch64_simd_lane_bounds (rtx operand, HOST_WIDE_INT low, HOST_WIDE_INT high,
if (lane < low || lane >= high)
{
if (exp)
- error ("%Klane %ld out of range %ld - %ld", exp, lane, low, high - 1);
+ error ("%Klane %wd out of range %wd - %wd", exp, lane, low, high - 1);
else
- error ("lane %ld out of range %ld - %ld", lane, low, high - 1);
+ error ("lane %wd out of range %wd - %wd", lane, low, high - 1);
}
}