diff options
author | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-06 08:10:09 +0000 |
---|---|---|
committer | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-06-06 08:10:09 +0000 |
commit | fff369f22c8f50cd4b6040f7860d38fed7aeb963 (patch) | |
tree | 88f8e06667bc01f3aee614a92f3130c18d864edd /libgfortran/generated/in_pack_i16.c | |
parent | ad82e5889ae755adf02837f5d1d71375b82da4a9 (diff) | |
download | gcc-fff369f22c8f50cd4b6040f7860d38fed7aeb963.tar.gz |
2006-06-06 Janne Blomqvist <jb@gcc.gnu.org>
* m4/in_pack.m4: Add TODO comment about detecting temporaries,
remove test for stride 0, update copyright year.
* m4/transpose.m4: Remove test for stride 0, update copyright
year.
* m4/iforeach.m4: Likewise.
* m4/shape.m4: Likewise.
* m4/in_unpack.m4: Likewise.
* m4/reshape.m4: Likewise.
* m4/ifunction.m4: Likewise.
* m4/matmul.m4: Likewise.
* m4/matmull.m4: Likewise.
* intrinsics/etime.c: Likewise.
* intrinsics/transpose_generic.c: Likewise.
* intrinsics/spread_generic.c: Likewise.
* intrinsics/stat.c: Likewise.
* intrinsics/reshape_generic.c: Likewise.
* intrinsics/random.c: Likewise.
* generated/*: Regenerated from above changed m4 files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114424 138bc75d-0d04-0410-961f-82ee72b054a4
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; |