OSDN Git Service

PR fortran/50420
authormikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Oct 2011 14:42:21 +0000 (14:42 +0000)
committermikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Oct 2011 14:42:21 +0000 (14:42 +0000)
commit5fcb00d5cf21f30f243d5a9dfc1e67963920159f
tree0ac4083fa009b1767348d572f86c658ca468ebf1
parent008757e05824d38b883152ab5082dc63858ebee6
PR fortran/50420
* trans-array.c (gfc_conv_expr_descriptor): Count codimensions starting
from zero, and add then the relevant offset (either ndim or loop.dimen)
depending on context.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180142 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c