bug realloc-lhs
Steve Kargl
sgk@troutmask.apl.washington.edu
Wed Mar 28 20:27:00 GMT 2012
On Wed, Mar 28, 2012 at 08:26:09PM +0100, patnel97269-gfortran@yahoo.fr wrote:
> The function have no side effect,
It has a side-effect. toto() is explicitly deallocating
memory of the actual argument p1 associated with the dummy
argument dd.
> and the user produces this function especiallly for the
> case. Â Nothing prevent the user from deallocating an array
> of the type inside the function.Â
Nothing prevents a user from point a gun at his foot
and pulling a trigger.
--
Steve
More information about the Fortran
mailing list