http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47592

--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> 2011-02-06 14:22:51 
UTC ---
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  <pa...@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  <pa...@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

Reply via email to