[Patch, fortran] PR65677 - Incomplete assignment on deferred-length character variable
Paul Richard Thomas
paul.richard.thomas@gmail.com
Sun Sep 23 11:57:00 GMT 2018
This is yet another deferred character length problem that this time
is caused by a dependency in assignment between lhs and rhs
string_lengths. The comment in the testcase explains all.
Bootstraps and regtests on FC21/x86_64 - OK for trunk and 8-branch?
I cannot commit until next week.
Paul
2018-09-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/65667
* trans-expr.c (gfc_trans_assignment_1): If there is dependency
fix the rse stringlength.
2018-09-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/65667
* gfortran.dg/dependency_52.f90 : New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 712 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180923/afe74281/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dependency_52.f90
Type: text/x-fortran
Size: 1188 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180923/afe74281/attachment-0001.bin>
More information about the Fortran
mailing list