re PR fortran/66927 (ICE in gfc_conf_procedure_call)
authorAndre Vehreschild <vehre@gcc.gnu.org>
Mon, 26 Oct 2015 13:03:22 +0000 (14:03 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Mon, 26 Oct 2015 13:03:22 +0000 (14:03 +0100)
commit97561cdcf018ec03d6267ee81f018e036452b09b
treea9839ebf7f34391e9578bc8c276bded4d7834c4e
parent9bdc432ac2147536e4b0a59892002f1e5a4380cb
re PR fortran/66927 (ICE in gfc_conf_procedure_call)

gcc/fortran/ChangeLog:

2015-10-26  Andre Vehreschild  <vehre@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.

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