OSDN Git Service

2006-03-30 Thomas Koenig <Thomas.Koenig@online.de>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Mar 2006 16:30:26 +0000 (16:30 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Mar 2006 16:30:26 +0000 (16:30 +0000)
commit1f8fb4716c48741ae1894d8597f41bd18751f8ef
treeccefb2ba3589b346ff9e82de690b49f0e7f063c7
parent4dc5882f34be26e1e708c100304c53a3fd85daee
2006-03-30  Thomas Koenig  <Thomas.Koenig@online.de>

PR fortran/25031
* runtime/memory.c (allocate_array):  If stat is present and
the variable is already allocated, free the variable, do
the allocation and set stat.
(allocate_array_64):  Likewise.  Whitespace fix.

2006-03-30  Thomas Koenig  <Thomas.Koenig@online.de>

PR fortran/25031
* gfortran.dg/multiple_allocation_1.f90:  Check that the
size has changed after a re-allocation with stat.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112539 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/multiple_allocation_1.f90
libgfortran/ChangeLog
libgfortran/runtime/memory.c