diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2011-02-06 14:22:48 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2011-02-06 14:22:48 +0000 |
commit | 90cf3ecc837d6f0c8d7b9068d9321bf494a830c6 (patch) | |
tree | 83ccb035c9e45ef14dd291bdc88ba6dea11e5cf6 /gcc/tree-ssa.c | |
parent | d5d3781a0d0934ad401412cd5471adc8519e463d (diff) | |
download | gcc-90cf3ecc837d6f0c8d7b9068d9321bf494a830c6.zip gcc-90cf3ecc837d6f0c8d7b9068d9321bf494a830c6.tar.gz gcc-90cf3ecc837d6f0c8d7b9068d9321bf494a830c6.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-ssa.c')
0 files changed, 0 insertions, 0 deletions