diff options
Diffstat (limited to 'libgfortran/generated/maxval_i16.c')
-rw-r--r-- | libgfortran/generated/maxval_i16.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libgfortran/generated/maxval_i16.c b/libgfortran/generated/maxval_i16.c index a10c8fa..c082e85 100644 --- a/libgfortran/generated/maxval_i16.c +++ b/libgfortran/generated/maxval_i16.c @@ -116,8 +116,9 @@ maxval_i16 (gfc_array_i16 * const restrict retarray, { if (rank != GFC_DESCRIPTOR_RANK (retarray)) runtime_error ("rank of return array incorrect in" - " MAXVAL intrinsic: is %d, should be %d", - GFC_DESCRIPTOR_RANK (retarray), rank); + " MAXVAL intrinsic: is %ld, should be %ld", + (long int) (GFC_DESCRIPTOR_RANK (retarray)), + (long int) rank); if (compile_options.bounds_check) { @@ -129,8 +130,8 @@ maxval_i16 (gfc_array_i16 * const restrict retarray, - retarray->dim[n].lbound; if (extent[n] != ret_extent) runtime_error ("Incorrect extent in return value of" - " MAXVAL intrinsic in dimension %d:" - " is %ld, should be %ld", n + 1, + " MAXVAL intrinsic in dimension %ld:" + " is %ld, should be %ld", (long int) n + 1, (long int) ret_extent, (long int) extent[n]); } } @@ -317,8 +318,8 @@ mmaxval_i16 (gfc_array_i16 * const restrict retarray, - retarray->dim[n].lbound; if (extent[n] != ret_extent) runtime_error ("Incorrect extent in return value of" - " MAXVAL intrinsic in dimension %d:" - " is %ld, should be %ld", n + 1, + " MAXVAL intrinsic in dimension %ld:" + " is %ld, should be %ld", (long int) n + 1, (long int) ret_extent, (long int) extent[n]); } for (n=0; n<= rank; n++) @@ -329,8 +330,8 @@ mmaxval_i16 (gfc_array_i16 * const restrict retarray, mask_extent = mask->dim[n].ubound + 1 - mask->dim[n].lbound; if (array_extent != mask_extent) runtime_error ("Incorrect extent in MASK argument of" - " MAXVAL intrinsic in dimension %d:" - " is %ld, should be %ld", n + 1, + " MAXVAL intrinsic in dimension %ld:" + " is %ld, should be %ld", (long int) n + 1, (long int) mask_extent, (long int) array_extent); } } @@ -449,7 +450,7 @@ smaxval_i16 (gfc_array_i16 * const restrict retarray, ret_rank = GFC_DESCRIPTOR_RANK (retarray); if (ret_rank != 1) runtime_error ("rank of return array in MAXVAL intrinsic" - " should be 1, is %d", ret_rank); + " should be 1, is %ld", (long int) ret_rank); ret_extent = retarray->dim[0].ubound + 1 - retarray->dim[0].lbound; if (ret_extent != rank) |