This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50420] [Coarray] lcobound doesn't accept coarray subcomponents
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Oct 2011 14:42:24 +0000
- Subject: [Bug fortran/50420] [Coarray] lcobound doesn't accept coarray subcomponents
- Auto-submitted: auto-generated
- References: <bug-50420-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50420
--- Comment #3 from Mikael Morin <mikael at gcc dot gnu.org> 2011-10-18 14:42:24 UTC ---
Author: mikael
Date: Tue Oct 18 14:42:21 2011
New Revision: 180142
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180142
Log:
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.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c