This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR47071 - [4.6 Regression] Wrong reallocate


On 01/10/2011 06:38 AM, Paul Richard Thomas wrote:
Note that we still have to deal with changing length parameters; eg.
character length or dynamic type.  Realistically, I think that this
will come in 4.7 but I will see what I can do:-)

(I personally would prefer to see first the implementation of reallocate on assignment for scalars.)


Bootstraps and regtests on FC9/x86_64 - OK for trunk?

OK. Thanks for the patch!


Tobias

PS: As there is a quote, it is not really needed - but in general I prefer if references to the standard (constraint numbers or section numbers) also include the Fortran standard (F95, F(20)03, F(20)08).

2011-01-10 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-10 Paul Thomas<pault@gcc.gnu.org>

	PR fortran/47051
	* gfortran.dg/realloc_on_assign_2.f03 : Modify 'test1' to be
	standard compliant and comment.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]