2011-08-30 Steven G. Kargl <kargl@gcc.gnu.org>
commitb757cef712bb1c8ab54495817d81730f92caa211
authorkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Aug 2011 15:34:01 +0000 (30 15:34 +0000)
committerkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Aug 2011 15:34:01 +0000 (30 15:34 +0000)
tree571e9966557aae713059987b1bd1f315293784a7
parent55d9ad9517e50ff9af762b7c7c4924e5ed134788
2011-08-30  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/45170
* trans-stmt.c (gfc_trans_allocate): Evaluate the substring.

2011-08-30  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/45170
* gfortran.dg/allocate_with_source_2.f90: New test

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