*ping* [Patch, Fortran] PR53642/45170c24 Deferred-length string fixes

Tobias Burnus burnus@net-b.de
Sat Jun 16 10:26:00 GMT 2012


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




More information about the Gcc-patches mailing list