This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r169862 - in /trunk/gcc: fortran/ChangeLog fort...
- From: pault at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 06 Feb 2011 14:22:49 -0000
- Subject: r169862 - in /trunk/gcc: fortran/ChangeLog fort...
Author: pault
Date: Sun Feb 6 14:22:48 2011
New Revision: 169862
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169862
Log:
2011-02-06 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47592
* trans-stmt.c (gfc_trans_allocate): For deferred character
length allocations with SOURCE, store to the values and string
length to avoid calculating twice. Replace gfc_start_block
with gfc_init_block to avoid unnecessary contexts and to keep
declarations of temporaries where they should be. Tidy up the
code a bit.
2011-02-06 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47592
* gfortran.dg/allocate_with_source_1 : New test.
Added:
trunk/gcc/testsuite/gfortran.dg/allocate_with_source_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-stmt.c
trunk/gcc/testsuite/ChangeLog