On Thu, 12 Apr 2018, Thomas König wrote:
> with Fortran 2018, recursive is becoming the default. This will likely
> have a serious impact on many user codes, which often declare large
> arrays which could then overflow stacks, leading to segfaults without
> further explanation.
-fopenmp already implies max-stack-var-size=-1 (as -fautomatic is
default). Same with -Ofast which enables -fstack-arrays (which
effectively ignores max-stack-var-size for some arrays). So maybe the
impact in the real world won't be large?