This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: -fno-automatic option (PR 20592)
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