OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2008-07-21 Thomas Koenig <tkoenig@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
libgfortran
/
generated
/
eoshift1_4.c
diff --git
a/libgfortran/generated/eoshift1_4.c
b/libgfortran/generated/eoshift1_4.c
index
58ce7e9
..
d78c40a
100644
(file)
--- a/
libgfortran/generated/eoshift1_4.c
+++ b/
libgfortran/generated/eoshift1_4.c
@@
-102,6
+102,11
@@
eoshift1 (gfc_array_char * const restrict ret,
ret->dim[i].stride = (ret->dim[i-1].ubound + 1) * ret->dim[i-1].stride;
}
}
+ else
+ {
+ if (size0 ((array_t *) ret) == 0)
+ return;
+ }
n = 0;
for (dim = 0; dim < GFC_DESCRIPTOR_RANK (array); dim++)