-
- Downloads
re PR fortran/47592 (Multiple function invocation with ALLOCATE (SOURCE=REPEAT('x',bar())))
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. From-SVN: r169862
Showing
- gcc/fortran/ChangeLog 10 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/trans-stmt.c 42 additions, 45 deletionsgcc/fortran/trans-stmt.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/allocate_with_source_1.f90 29 additions, 0 deletionsgcc/testsuite/gfortran.dg/allocate_with_source_1.f90
Loading
Please register or sign in to comment