From 28cc1e9a8a81cfca5c7dd193bd45a95acbcb2b6b Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Mon, 6 Sep 2010 00:14:14 +0200 Subject: [PATCH] bessel.m4: Fix printf warning by casting to (long int). 2010-09-05 Tobias Burnus * m4/bessel.m4: Fix printf warning by casting to (long int). * generated/bessel_r4.c:Regenerated. * generated/bessel_r8.c: Regenerated. * generated/bessel_r10.c: Regenerated. * generated/bessel_r16.c: Regenerated. From-SVN: r163885 --- libgfortran/ChangeLog | 8 ++++++++ libgfortran/generated/bessel_r10.c | 4 ++-- libgfortran/generated/bessel_r16.c | 4 ++-- libgfortran/generated/bessel_r4.c | 4 ++-- libgfortran/generated/bessel_r8.c | 4 ++-- libgfortran/m4/bessel.m4 | 4 ++-- 6 files changed, 18 insertions(+), 10 deletions(-) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 51d836d7ece8..4c5ffd89e54c 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,11 @@ +2010-09-05 Tobias Burnus + + * m4/bessel.m4: Fix printf warning by casting to (long int). + * generated/bessel_r4.c:Regenerated. + * generated/bessel_r8.c: Regenerated. + * generated/bessel_r10.c: Regenerated. + * generated/bessel_r16.c: Regenerated. + 2010-09-01 Francois-Xavier Coudert * intrinsics/execute_command_line.c: New file. diff --git a/libgfortran/generated/bessel_r10.c b/libgfortran/generated/bessel_r10.c index efef45051885..93d08d6ce6d0 100644 --- a/libgfortran/generated/bessel_r10.c +++ b/libgfortran/generated/bessel_r10.c @@ -66,7 +66,7 @@ bessel_jn_r10 (gfc_array_r10 * const restrict ret, int n1, int n2, GFC_REAL_10 x && GFC_DESCRIPTOR_EXTENT(ret,0) != (n2-n1+1)) runtime_error("Incorrect extent in return value of BESSEL_JN " "(%ld vs. %ld)", (long int) n2-n1, - GFC_DESCRIPTOR_EXTENT(ret,0)); + (long int) GFC_DESCRIPTOR_EXTENT(ret,0)); stride = GFC_DESCRIPTOR_STRIDE(ret,0); @@ -134,7 +134,7 @@ bessel_yn_r10 (gfc_array_r10 * const restrict ret, int n1, int n2, && GFC_DESCRIPTOR_EXTENT(ret,0) != (n2-n1+1)) runtime_error("Incorrect extent in return value of BESSEL_JN " "(%ld vs. %ld)", (long int) n2-n1, - GFC_DESCRIPTOR_EXTENT(ret,0)); + (long int) GFC_DESCRIPTOR_EXTENT(ret,0)); stride = GFC_DESCRIPTOR_STRIDE(ret,0); diff --git a/libgfortran/generated/bessel_r16.c b/libgfortran/generated/bessel_r16.c index d5ca883e8990..da9ab9760c51 100644 --- a/libgfortran/generated/bessel_r16.c +++ b/libgfortran/generated/bessel_r16.c @@ -70,7 +70,7 @@ bessel_jn_r16 (gfc_array_r16 * const restrict ret, int n1, int n2, GFC_REAL_16 x && GFC_DESCRIPTOR_EXTENT(ret,0) != (n2-n1+1)) runtime_error("Incorrect extent in return value of BESSEL_JN " "(%ld vs. %ld)", (long int) n2-n1, - GFC_DESCRIPTOR_EXTENT(ret,0)); + (long int) GFC_DESCRIPTOR_EXTENT(ret,0)); stride = GFC_DESCRIPTOR_STRIDE(ret,0); @@ -138,7 +138,7 @@ bessel_yn_r16 (gfc_array_r16 * const restrict ret, int n1, int n2, && GFC_DESCRIPTOR_EXTENT(ret,0) != (n2-n1+1)) runtime_error("Incorrect extent in return value of BESSEL_JN " "(%ld vs. %ld)", (long int) n2-n1, - GFC_DESCRIPTOR_EXTENT(ret,0)); + (long int) GFC_DESCRIPTOR_EXTENT(ret,0)); stride = GFC_DESCRIPTOR_STRIDE(ret,0); diff --git a/libgfortran/generated/bessel_r4.c b/libgfortran/generated/bessel_r4.c index 794a5f6b7f9e..3d6e3ca231ac 100644 --- a/libgfortran/generated/bessel_r4.c +++ b/libgfortran/generated/bessel_r4.c @@ -66,7 +66,7 @@ bessel_jn_r4 (gfc_array_r4 * const restrict ret, int n1, int n2, GFC_REAL_4 x) && GFC_DESCRIPTOR_EXTENT(ret,0) != (n2-n1+1)) runtime_error("Incorrect extent in return value of BESSEL_JN " "(%ld vs. %ld)", (long int) n2-n1, - GFC_DESCRIPTOR_EXTENT(ret,0)); + (long int) GFC_DESCRIPTOR_EXTENT(ret,0)); stride = GFC_DESCRIPTOR_STRIDE(ret,0); @@ -134,7 +134,7 @@ bessel_yn_r4 (gfc_array_r4 * const restrict ret, int n1, int n2, && GFC_DESCRIPTOR_EXTENT(ret,0) != (n2-n1+1)) runtime_error("Incorrect extent in return value of BESSEL_JN " "(%ld vs. %ld)", (long int) n2-n1, - GFC_DESCRIPTOR_EXTENT(ret,0)); + (long int) GFC_DESCRIPTOR_EXTENT(ret,0)); stride = GFC_DESCRIPTOR_STRIDE(ret,0); diff --git a/libgfortran/generated/bessel_r8.c b/libgfortran/generated/bessel_r8.c index e9f84b4ce546..7e3bcab4a1c2 100644 --- a/libgfortran/generated/bessel_r8.c +++ b/libgfortran/generated/bessel_r8.c @@ -66,7 +66,7 @@ bessel_jn_r8 (gfc_array_r8 * const restrict ret, int n1, int n2, GFC_REAL_8 x) && GFC_DESCRIPTOR_EXTENT(ret,0) != (n2-n1+1)) runtime_error("Incorrect extent in return value of BESSEL_JN " "(%ld vs. %ld)", (long int) n2-n1, - GFC_DESCRIPTOR_EXTENT(ret,0)); + (long int) GFC_DESCRIPTOR_EXTENT(ret,0)); stride = GFC_DESCRIPTOR_STRIDE(ret,0); @@ -134,7 +134,7 @@ bessel_yn_r8 (gfc_array_r8 * const restrict ret, int n1, int n2, && GFC_DESCRIPTOR_EXTENT(ret,0) != (n2-n1+1)) runtime_error("Incorrect extent in return value of BESSEL_JN " "(%ld vs. %ld)", (long int) n2-n1, - GFC_DESCRIPTOR_EXTENT(ret,0)); + (long int) GFC_DESCRIPTOR_EXTENT(ret,0)); stride = GFC_DESCRIPTOR_STRIDE(ret,0); diff --git a/libgfortran/m4/bessel.m4 b/libgfortran/m4/bessel.m4 index 3df8f1d18490..acef7eaa7183 100644 --- a/libgfortran/m4/bessel.m4 +++ b/libgfortran/m4/bessel.m4 @@ -67,7 +67,7 @@ bessel_jn_r'rtype_kind` ('rtype` * const restrict ret, int n1, int n2, 'rtype_na && GFC_DESCRIPTOR_EXTENT(ret,0) != (n2-n1+1)) runtime_error("Incorrect extent in return value of BESSEL_JN " "(%ld vs. %ld)", (long int) n2-n1, - GFC_DESCRIPTOR_EXTENT(ret,0)); + (long int) GFC_DESCRIPTOR_EXTENT(ret,0)); stride = GFC_DESCRIPTOR_STRIDE(ret,0); @@ -135,7 +135,7 @@ bessel_yn_r'rtype_kind` ('rtype` * const restrict ret, int n1, int n2, && GFC_DESCRIPTOR_EXTENT(ret,0) != (n2-n1+1)) runtime_error("Incorrect extent in return value of BESSEL_JN " "(%ld vs. %ld)", (long int) n2-n1, - GFC_DESCRIPTOR_EXTENT(ret,0)); + (long int) GFC_DESCRIPTOR_EXTENT(ret,0)); stride = GFC_DESCRIPTOR_STRIDE(ret,0);