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