So, it seems that at some point in the past, the option
-fmax-stack-var-size was expanded to allow the placement
of an allocatable array into static memory. This has
a possibly unintended consequence in that automatic
deallocation of an allocatable array does not (or can
not) occur.
program foo
Hi Steve,
So, it seems that at some point in the past, the option
-fmax-stack-var-size was expanded to allow the placement
of an allocatable array into static memory. This has
a possibly unintended consequence in that automatic
deallocation of an allocatable array does not (or can
not) occur.
On Thu, Mar 31, 2022 at 08:36:37PM +0200, Thomas Koenig wrote:
> Hi Steve,
>
> > So, it seems that at some point in the past, the option
> > -fmax-stack-var-size was expanded to allow the placement
> > of an allocatable array into static memory. This has
> > a possibly unintended consequence in t