-fno-automatic option (PR 20592)
Richard E Maine
Richard.Maine@nasa.gov
Wed Aug 31 19:13:00 GMT 2005
On Aug 31, 2005, at 7:32 AM, Paul Brook wrote:
>
> How does this patch interact with ALLOCATABLE variables. Are they
> deallocated
> at the end of the procedure or not? This needs testing and documenting.
I can't tell (haven't looked) at what behavior the patch in question
would cause, but I can note that the standard *REQUIRES* deallocation
for non-saved local allocatables. (Ones in modules are different). This
is an area where it is not at the compiler's option. Thus making
allocatables saved when not so declared is another way to break
standard-conforming, working codes; they need to be one of the
exceptions to such a switch.
--
Richard Maine | Good judgment comes from experience;
Richard.Maine@nasa.gov | experience comes from bad judgment.
| -- Mark Twain
More information about the Fortran
mailing list