Re: Allocatables in derived types and functions



Arno wrote:

The latest version of the compiler will be installed, but may take some
time. So, I will post the code, just to be sure.

Thanks for the code. The current compiler still has a problem with it.
What is happening is that when write_i is called, because dummy is
intent(out), it has to check to see if the allocatable components of
dummy need to be deallocated and do so if they are. They aren't, but
it is getting this test wrong and trying to deallocate memory that
isn't allocated. We'll fix this.


Steve Lionel
Developer Products Division
Intel Corporation
Nashua, NH

User communities for Intel Software Development Products
http://softwareforums.intel.com/
Intel Fortran Support
http://developer.intel.com/software/products/support/
My Fortran blog
http://www.intel.com/software/drfortran

.



Relevant Pages