summaryrefslogtreecommitdiffstats
path: root/libgfortran/generated/in_unpack_i1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/in_unpack_i1.c')
-rw-r--r--libgfortran/generated/in_unpack_i1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/in_unpack_i1.c b/libgfortran/generated/in_unpack_i1.c
index 323b6847a8d..e632816c918 100644
--- a/libgfortran/generated/in_unpack_i1.c
+++ b/libgfortran/generated/in_unpack_i1.c
@@ -52,8 +52,8 @@ internal_unpack_1 (gfc_array_i1 * d, const GFC_INTEGER_1 * src)
for (n = 0; n < dim; n++)
{
count[n] = 0;
- stride[n] = d->dim[n].stride;
- extent[n] = d->dim[n].ubound + 1 - d->dim[n].lbound;
+ stride[n] = GFC_DESCRIPTOR_STRIDE(d,n);
+ extent[n] = GFC_DESCRIPTOR_EXTENT(d,n);
if (extent[n] <= 0)
return;
OpenPOWER on IntegriCloud