diff options
Diffstat (limited to 'libgfortran/generated/in_pack_i16.c')
-rw-r--r-- | libgfortran/generated/in_pack_i16.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libgfortran/generated/in_pack_i16.c b/libgfortran/generated/in_pack_i16.c index b8c6c29d6f7..205c1020150 100644 --- a/libgfortran/generated/in_pack_i16.c +++ b/libgfortran/generated/in_pack_i16.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_16 (gfc_array_i16 * 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; |