(j3.2006) MPI usage problems in Fortran

Van Snyder Van.Snyder
Wed Mar 19 16:50:09 EDT 2008


On Wed, 2008-03-19 at 15:27 -0400, Jim Xia wrote:
> Just to comment on VOLATILE on VALUE: for structure with pointer
> components, the VOLATILE on VALUE is harmful in that the pointer
> component's values can be altered and therefore affects the actual.
>  The assumption that VALUE is completely separated from the actual-arg
> is illusive. 

Then we should also prohibit VOLATILE for any structure objects that
have pointer components and are involved in intrinsic assignment,
because VALUE dummy arguments get their initial value from their
corresponding (not associated) actual argument as if by intrinsic
assignment.

-- 
Van Snyder                    |  What fraction of Americans believe 
Van.Snyder at jpl.nasa.gov       |  Wrestling is real and NASA is fake?
Any alleged opinions are my own and have not been approved or
disapproved by JPL, CalTech, NASA, the President, or anybody else.




More information about the J3 mailing list