1 Nov 2009 17:07
[Patch, Fortran] PR 41872 - Fixes for allocatable scalars (part 1)
Tobias Burnus <burnus <at> net-b.de>
2009-11-01 16:07:29 GMT
2009-11-01 16:07:29 GMT
Hello, allocatable scalars have several issues. This patch fixes the some of them. (For more issues, see PR.) Especially the following now works: * Passing allocatable scalars as argument. The problem before was that the allocatable scalar was passed by value and not by reference. * Auto-deallocation of allocatable actual arguments when passing them to allocatable INTENT(OUT) dummies. * Going out of scope does no longer nullify the variable; this is not needed as the variable cannot be accessed. (missed optimization) Build and regtested on x86-64-linux. OK for the trunk? Tobias
RSS Feed