diff options
Diffstat (limited to 'libgfortran/generated/sum_r4.c')
-rw-r--r-- | libgfortran/generated/sum_r4.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libgfortran/generated/sum_r4.c b/libgfortran/generated/sum_r4.c index 1d3f2d0..1f058dc 100644 --- a/libgfortran/generated/sum_r4.c +++ b/libgfortran/generated/sum_r4.c @@ -116,8 +116,9 @@ sum_r4 (gfc_array_r4 * const restrict retarray, { if (rank != GFC_DESCRIPTOR_RANK (retarray)) runtime_error ("rank of return array incorrect in" - " SUM intrinsic: is %d, should be %d", - GFC_DESCRIPTOR_RANK (retarray), rank); + " SUM intrinsic: is %ld, should be %ld", + (long int) (GFC_DESCRIPTOR_RANK (retarray)), + (long int) rank); if (compile_options.bounds_check) { @@ -129,8 +130,8 @@ sum_r4 (gfc_array_r4 * const restrict retarray, - retarray->dim[n].lbound; if (extent[n] != ret_extent) runtime_error ("Incorrect extent in return value of" - " SUM intrinsic in dimension %d:" - " is %ld, should be %ld", n + 1, + " SUM intrinsic in dimension %ld:" + " is %ld, should be %ld", (long int) n + 1, (long int) ret_extent, (long int) extent[n]); } } @@ -316,8 +317,8 @@ msum_r4 (gfc_array_r4 * const restrict retarray, - retarray->dim[n].lbound; if (extent[n] != ret_extent) runtime_error ("Incorrect extent in return value of" - " SUM intrinsic in dimension %d:" - " is %ld, should be %ld", n + 1, + " SUM 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++) @@ -328,8 +329,8 @@ msum_r4 (gfc_array_r4 * 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" - " SUM intrinsic in dimension %d:" - " is %ld, should be %ld", n + 1, + " SUM intrinsic in dimension %ld:" + " is %ld, should be %ld", (long int) n + 1, (long int) mask_extent, (long int) array_extent); } } @@ -448,7 +449,7 @@ ssum_r4 (gfc_array_r4 * const restrict retarray, ret_rank = GFC_DESCRIPTOR_RANK (retarray); if (ret_rank != 1) runtime_error ("rank of return array in SUM 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) |