diff options
Diffstat (limited to 'libgfortran/m4/in_pack.m4')
-rw-r--r-- | libgfortran/m4/in_pack.m4 | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libgfortran/m4/in_pack.m4 b/libgfortran/m4/in_pack.m4 index cb5be529e7c..950919d0782 100644 --- a/libgfortran/m4/in_pack.m4 +++ b/libgfortran/m4/in_pack.m4 @@ -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). @@ -56,11 +56,8 @@ rtype_name * 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; |