This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This patch fixes issues with deferred length strings, where the new string length (= RHS len) is evaluated too late. That's fixed by calling gfc_add_block_to_block. I have no idea whether the condition makes sense or whether that function could always be called.
Additionally, in the FE optimization, it avoids the removal of trim in "lhs = trim(rhs)" if the lhs has a deferred length.
Build and regtested on x86-64-linux. OK for the trunk?
Tobias
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |