diff options
Diffstat (limited to 'libgfortran/generated/in_pack_i4.c')
-rw-r--r-- | libgfortran/generated/in_pack_i4.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libgfortran/generated/in_pack_i4.c b/libgfortran/generated/in_pack_i4.c index 4452c644d71..0d2ef2dd261 100644 --- a/libgfortran/generated/in_pack_i4.c +++ b/libgfortran/generated/in_pack_i4.c @@ -1,5 +1,5 @@ /* Helper function for repacking arrays. - Copyright 2003 Free Software Foundation, Inc. + Copyright 2003, 2006 Free Software Foundation, Inc. Contributed by Paul Brook <paul@nowt.org> This file is part of the GNU Fortran 95 runtime library (libgfortran). @@ -53,11 +53,8 @@ internal_pack_4 (gfc_array_i4 * source) int n; int packed; - if (source->dim[0].stride == 0) - { - source->dim[0].stride = 1; - return source->data; - } + /* TODO: Investigate how we can figure out if this is a temporary + since the stride=0 thing has been removed from the frontend. */ dim = GFC_DESCRIPTOR_RANK (source); ssize = 1; |