summaryrefslogtreecommitdiff
path: root/libgfortran/generated/in_unpack_r16.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/in_unpack_r16.c')
-rw-r--r--libgfortran/generated/in_unpack_r16.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/in_unpack_r16.c b/libgfortran/generated/in_unpack_r16.c
index af61dfe8e23..0b08228ce70 100644
--- a/libgfortran/generated/in_unpack_r16.c
+++ b/libgfortran/generated/in_unpack_r16.c
@@ -52,8 +52,8 @@ internal_unpack_r16 (gfc_array_r16 * d, const GFC_REAL_16 * 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;