summaryrefslogtreecommitdiff
path: root/libgfortran/generated/in_unpack_i1.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-21 18:18:52 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-01-21 18:18:52 +0000
commitfb01523df3d05efe45df14bbc79881baf0d041d2 (patch)
treea4b8449e349cfd55686663c34eb51b747cc1a22b /libgfortran/generated/in_unpack_i1.c
parent1d2c8bb01eea3eaba001f9a8942576cc8431c1da (diff)
downloadgcc-fb01523df3d05efe45df14bbc79881baf0d041d2.tar.gz
2009-01-21 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r143546 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@143548 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/generated/in_unpack_i1.c')
-rw-r--r--libgfortran/generated/in_unpack_i1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/generated/in_unpack_i1.c b/libgfortran/generated/in_unpack_i1.c
index 0e7ab116125..ccaa0d2cb06 100644
--- a/libgfortran/generated/in_unpack_i1.c
+++ b/libgfortran/generated/in_unpack_i1.c
@@ -60,12 +60,12 @@ internal_unpack_1 (gfc_array_i1 * d, const GFC_INTEGER_1 * src)
stride[n] = d->dim[n].stride;
extent[n] = d->dim[n].ubound + 1 - d->dim[n].lbound;
if (extent[n] <= 0)
- abort ();
+ return;
if (dsize == stride[n])
- dsize *= extent[n];
+ dsize *= extent[n];
else
- dsize = 0;
+ dsize = 0;
}
if (dsize != 0)