https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66927
--- Comment #13 from vehre at gcc dot gnu.org --- Author: vehre Date: Mon Oct 26 13:03:22 2015 New Revision: 229353 URL: https://gcc.gnu.org/viewcvs?rev=229353&root=gcc&view=rev Log: gcc/fortran/ChangeLog: 2015-10-26 Andre Vehreschild <ve...@gcc.gnu.org> PR fortran/66927 * trans-array.c (evaluate_bound): For deferred length arrays get the bounds directly from the descriptor, i.e., prevent using constant zero lower bound from the gfc_conv_array_lbound () routine. (gfc_conv_section_startstride): Hand deferred array status to evaluate_bound (). (gfc_conv_expr_descriptor): Same. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-array.c