https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101363

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
No, you didn't.  I missed the one %K in aarch64.c.  Let me commit the fix below
to fix the bootstrap error.  I'm still not sure what the deal is with the tests
though.

diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 2753c852abd..f5b25a7f704 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);
   }

Reply via email to