[AArch64] Change %ld to %wd for HOST_WIDE_INT parameter.
authorShiva Chen <shiva0217@gmail.com>
Mon, 15 Jun 2015 09:58:42 +0000 (09:58 +0000)
committerMarcus Shawcroft <mshawcroft@gcc.gnu.org>
Mon, 15 Jun 2015 09:58:42 +0000 (09:58 +0000)
From-SVN: r224476

gcc/ChangeLog
gcc/config/aarch64/aarch64.c

index 49cd8c7..f9cf115 100644 (file)
@@ -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
index c3c2795..0a0ad34 100644 (file)
@@ -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);
   }
 }