OSDN Git Service

2012-11-24 Thomas Koenig <tkoenig@gcc.gnu.org>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Nov 2012 17:13:25 +0000 (17:13 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Nov 2012 17:13:25 +0000 (17:13 +0000)
commit9bdaf61630a9aea0116ade602ecef9b49590794c
treee2c4a0693e8b4c15b84621709e7317b77c10f054
parent659399e27baa9415d467997fe64216cb260def58
2012-11-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/55314
Backport from trunk
* resolve.c (resolve_allocate_deallocate):  Compare all
subscripts when deciding if to reject a (de)allocate
statement.

2012-11-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/55314
Backport from trunk
* gfortran.dg/allocate_error_4.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@193780 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_error_4.f90 [new file with mode: 0644]