2008-10-14 Paul Thomas <pault@gcc.gnu.org>
commitda9de6276a4c01b33aa878e27b689646ffb60d31
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Nov 2008 18:03:05 +0000 (14 18:03 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Nov 2008 18:03:05 +0000 (14 18:03 +0000)
treee7f8e74d03abebca3cb39d01a54bc5396022ddb6
parent68d4bdfb01c01a089f27aeb85053a723d43abf64
2008-10-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38033
* trans-array.c (gfc_trans_create_temp_array): Stabilize the
'to' expression.
(gfc_conv_loop_setup): Use the end expression for the loop 'to'
if it is available.

2008-10-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38033
* gfortran.dg/array_section_2.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141861 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/array_section_2.f90 [new file with mode: 0644]