diff options
Diffstat (limited to 'libgfortran/generated/all_l8.c')
-rw-r--r-- | libgfortran/generated/all_l8.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libgfortran/generated/all_l8.c b/libgfortran/generated/all_l8.c index c9fa80935ae..7b98652bce5 100644 --- a/libgfortran/generated/all_l8.c +++ b/libgfortran/generated/all_l8.c @@ -116,8 +116,9 @@ all_l8 (gfc_array_l8 * const restrict retarray, { if (rank != GFC_DESCRIPTOR_RANK (retarray)) runtime_error ("rank of return array incorrect in" - " ALL intrinsic: is %d, should be %d", - GFC_DESCRIPTOR_RANK (retarray), rank); + " ALL intrinsic: is %ld, should be %ld", + (long int) (GFC_DESCRIPTOR_RANK (retarray)), + (long int) rank); if (compile_options.bounds_check) { @@ -129,8 +130,8 @@ all_l8 (gfc_array_l8 * const restrict retarray, - retarray->dim[n].lbound; if (extent[n] != ret_extent) runtime_error ("Incorrect extent in return value of" - " ALL intrinsic in dimension %d:" - " is %ld, should be %ld", n + 1, + " ALL intrinsic in dimension %ld:" + " is %ld, should be %ld", (long int) n + 1, (long int) ret_extent, (long int) extent[n]); } } |