https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105182
--- Comment #5 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Wed, Apr 06, 2022 at 09:54:00PM +0000, kermitnuc at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105182 > > --- Comment #4 from Kermit Bunde <kermitnuc at gmail dot com> --- > This subroutine compiles when GCC 10.3 is used. What was changed for 11.1 > that > might impact this? I have no idea. A few hundered bug fixes and several new features were added in 11.1. > > Is there a compiler option that I can use to provide more information to you? > What is your stack size? I suspect that gfortran is putting more things on the stack such as temporary arrays and you've exhausted it.