]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/50420 ([Coarray] lcobound doesn't accept coarray subcomponents)
authorMikael Morin <mikael@gcc.gnu.org>
Tue, 18 Oct 2011 14:42:21 +0000 (14:42 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Tue, 18 Oct 2011 14:42:21 +0000 (14:42 +0000)
commita04b23d8a4b8df18959c839795a59140689bb1f3
tree0ac4083fa009b1767348d572f86c658ca468ebf1
parent7c5950bd7f9afd05ea528fc3d42ceb63af1fd8de
re PR fortran/50420 ([Coarray] lcobound doesn't accept coarray subcomponents)

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.

From-SVN: r180142
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c