Om 13.06.2012 10:00, Tobias Burnus wrote:
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