diff options
Diffstat (limited to 'libgfortran/generated/in_pack_c10.c')
-rw-r--r-- | libgfortran/generated/in_pack_c10.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libgfortran/generated/in_pack_c10.c b/libgfortran/generated/in_pack_c10.c index 5a91d9765bc..1c51349d088 100644 --- a/libgfortran/generated/in_pack_c10.c +++ b/libgfortran/generated/in_pack_c10.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_c10 (gfc_array_c10 * 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; |