aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated
diff options
context:
space:
mode:
authorThomas Koenig <Thomas.Koenig@online.de>2005-06-28 21:57:45 +0000
committerThomas Koenig <tkoenig@gcc.gnu.org>2005-06-28 21:57:45 +0000
commit0f363a3b8c00a0632195824755d7f8b6cfc245a7 (patch)
tree73edcbbab941b2ce61c7ae3dd60972e8bc5a6c4e /libgfortran/generated
parent4de67c26feb1b3535451df4e3bd10b7386029f02 (diff)
downloadgcc-0f363a3b8c00a0632195824755d7f8b6cfc245a7.zip
gcc-0f363a3b8c00a0632195824755d7f8b6cfc245a7.tar.gz
gcc-0f363a3b8c00a0632195824755d7f8b6cfc245a7.tar.bz2
re PR libfortran/22142 ([4.0 only] eoshift: boundary not filled in correctly)
2005-06-28 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/22142 * m4/eoshift3.m4: Correct bstride (it needs to be multiplied by size since it's a char pointer). * m4/eoshift3_4.c: Regenerated. * m4/eoshift3_8.c: Regenerated. 2005-06-28 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/22142 * gfortran.fortran-torture/execute/intrinsic_eoshift.f90: Add testcase for PR 22142. From-SVN: r101392
Diffstat (limited to 'libgfortran/generated')
-rw-r--r--libgfortran/generated/eoshift3_4.c2
-rw-r--r--libgfortran/generated/eoshift3_8.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/eoshift3_4.c b/libgfortran/generated/eoshift3_4.c
index 14c38b7..4ce66a3 100644
--- a/libgfortran/generated/eoshift3_4.c
+++ b/libgfortran/generated/eoshift3_4.c
@@ -135,7 +135,7 @@ eoshift3_4 (gfc_array_char *ret, gfc_array_char *array,
hstride[n] = h->dim[n].stride;
if (bound)
- bstride[n] = bound->dim[n].stride;
+ bstride[n] = bound->dim[n].stride * size;
else
bstride[n] = 0;
n++;
diff --git a/libgfortran/generated/eoshift3_8.c b/libgfortran/generated/eoshift3_8.c
index 77617b0..7e9b911b 100644
--- a/libgfortran/generated/eoshift3_8.c
+++ b/libgfortran/generated/eoshift3_8.c
@@ -135,7 +135,7 @@ eoshift3_8 (gfc_array_char *ret, gfc_array_char *array,
hstride[n] = h->dim[n].stride;
if (bound)
- bstride[n] = bound->dim[n].stride;
+ bstride[n] = bound->dim[n].stride * size;
else
bstride[n] = 0;
n++;