OSDN Git Service

* config/i386/i386.c (ix86_expand_movmem, ix86_expand_setmem): Add
[pf3gnuchains/gcc-fork.git] / libgfortran / generated / count_1_l.c
index 52ae34b..c803a0d 100644 (file)
@@ -127,7 +127,7 @@ count_1_l (gfc_array_i1 * const restrict retarray,
                       (long int) GFC_DESCRIPTOR_RANK (retarray),
                       (long int) rank);
 
-      if (compile_options.bounds_check)
+      if (unlikely (compile_options.bounds_check))
        {
          for (n=0; n < rank; n++)
            {
@@ -138,7 +138,7 @@ count_1_l (gfc_array_i1 * const restrict retarray,
              if (extent[n] != ret_extent)
                runtime_error ("Incorrect extent in return value of"
                               " COUNT intrinsic in dimension %d:"
-                              " is %ld, should be %ld", n + 1,
+                              " is %ld, should be %ld", (int) n + 1,
                               (long int) ret_extent, (long int) extent[n]);
            }
        }