summaryrefslogtreecommitdiff
path: root/libgfortran/generated/in_unpack_c8.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/in_unpack_c8.c')
-rw-r--r--libgfortran/generated/in_unpack_c8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/generated/in_unpack_c8.c b/libgfortran/generated/in_unpack_c8.c
index 994b234a80e..6adae640e5e 100644
--- a/libgfortran/generated/in_unpack_c8.c
+++ b/libgfortran/generated/in_unpack_c8.c
@@ -52,8 +52,8 @@ internal_unpack_c8 (gfc_array_c8 * d, const GFC_COMPLEX_8 * 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;