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-01-27 Thomas Koenig <tkoenig@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
libgfortran
/
generated
/
shape_i16.c
diff --git
a/libgfortran/generated/shape_i16.c
b/libgfortran/generated/shape_i16.c
index
a89c70a
..
77274d6
100644
(file)
--- a/
libgfortran/generated/shape_i16.c
+++ b/
libgfortran/generated/shape_i16.c
@@
-48,6
+48,9
@@
shape_16 (gfc_array_i16 * const restrict ret,
stride = ret->dim[0].stride;
+ if (ret->dim[0].ubound < ret->dim[0].lbound)
+ return;
+
for (n = 0; n < GFC_DESCRIPTOR_RANK (array); n++)
{
ret->data[n * stride] =