aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2021-07-07 08:49:13 -0600
committerMartin Sebor <msebor@redhat.com>2021-07-07 08:56:19 -0600
commit06357071d0557c4f0e9b0a6dfc4d37f5680e34cc (patch)
tree367fbbe3efa52267fb8cd6a089f846d9e84dd09f /gcc
parente8073c04536214c856a6340fea23d676cd7436af (diff)
downloadgcc-06357071d0557c4f0e9b0a6dfc4d37f5680e34cc.zip
gcc-06357071d0557c4f0e9b0a6dfc4d37f5680e34cc.tar.gz
gcc-06357071d0557c4f0e9b0a6dfc4d37f5680e34cc.tar.bz2
aarch64: Remove a vestigial %K [PR101363]
gcc/ChangeLog: PR target/101363 * config/aarch64/aarch64.c (aarch64_simd_lane_bounds): Remove a stray %K from error_at() missed in r12-2088.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/aarch64/aarch64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 2753c85..f5b25a7 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -20128,7 +20128,8 @@ aarch64_simd_lane_bounds (rtx operand, HOST_WIDE_INT low, HOST_WIDE_INT high,
if (lane < low || lane >= high)
{
if (exp)
- error ("%Klane %wd out of range %wd - %wd", exp, lane, low, high - 1);
+ error_at (EXPR_LOCATION (exp), "lane %wd out of range %wd - %wd",
+ lane, low, high - 1);
else
error ("lane %wd out of range %wd - %wd", lane, low, high - 1);
}