This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47051] [4.6 Regression] Wrong reallocate
- From: "pault at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Jan 2011 05:19:37 +0000
- Subject: [Bug fortran/47051] [4.6 Regression] Wrong reallocate
- Auto-submitted: auto-generated
- References: <bug-47051-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47051
--- Comment #15 from Paul Thomas <pault at gcc dot gnu.org> 2011-01-11 05:19:24 UTC ---
Author: pault
Date: Tue Jan 11 05:19:20 2011
New Revision: 168650
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168650
Log:
2011-01-11 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47051
* trans-array.c (gfc_alloc_allocatable_for_assignment): Change
to be standard compliant by testing for shape rather than size
before skipping reallocation. Improve comments.
2011-01-11 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47051
* gfortran.dg/realloc_on_assign_2.f03 : Modify 'test1' to be
standard compliant and comment.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/realloc_on_assign_2.f03