]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Remove a vestigial %K [PR101363]
authorMartin Sebor <msebor@redhat.com>
Wed, 7 Jul 2021 14:49:13 +0000 (08:49 -0600)
committerMartin Sebor <msebor@redhat.com>
Wed, 7 Jul 2021 14:56:19 +0000 (08:56 -0600)
gcc/ChangeLog:
PR target/101363
* config/aarch64/aarch64.c (aarch64_simd_lane_bounds): Remove
a stray %K from error_at() missed in r12-2088.

gcc/config/aarch64/aarch64.c

index 2753c852abdfab96ec6016075aa386eee73ad85d..f5b25a7f7041645921e6ad85714efda73b993492 100644 (file)
@@ -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);
   }