diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2011-01-30 17:50:01 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2011-01-30 17:50:01 +0000 |
commit | dafdf26963a622e074aeeeab399fbe33521d1baa (patch) | |
tree | b8da97f66b986afd0a1f0f8d4f158a5b4dbd22d2 /gcc/fortran/interface.c | |
parent | 7be03a0ef9150f728b5710c0b9ca0962c137a4fc (diff) | |
download | gcc-dafdf26963a622e074aeeeab399fbe33521d1baa.zip gcc-dafdf26963a622e074aeeeab399fbe33521d1baa.tar.gz gcc-dafdf26963a622e074aeeeab399fbe33521d1baa.tar.bz2 |
re PR fortran/47523 (Concatenation with deferred length character with lhs variable)
2011-01-30 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47523
* trans-expr.c (gfc_trans_assignment_1): If the rhs is an op
expr and is assigned to a deferred character length scalar,
make sure that the function is called before reallocation,
so that the length is available. Include procedure pointer
and procedure pointer component rhs as well.
2011-01-30 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47523
* trans-expr.c (gfc_trans_assignment_1): If the rhs is an op
expr and is assigned to a deferred character length scalar,
make sure that the function is called before reallocation,
so that the length is available. Include procedure pointer
and procedure pointer component rhs as well.
PR fortran/45170
PR fortran/35810
PR fortran/47350
* gfortran.dg/allocatable_function_5.f90: New test not added by
mistake on 2011-01-28.
From-SVN: r169413
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions