https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117730
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> --- [pault@pc30 pr84674]$ valgrind ./a.out ==1167560== Memcheck, a memory error detector ==1167560== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. ==1167560== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info ==1167560== Command: ./a.out ==1167560== ==1167560== Stack overflow in thread #1: can't grow stack to 0x1ffe801000 ==1167560== Stack overflow in thread #1: can't grow stack to 0x1ffe801000 ==1167560== Can't extend stack to 0x1ffe801098 during signal delivery for thread 1: ==1167560== no stack segment ==1167560== ==1167560== Process terminating with default action of signal 11 (SIGSEGV): dumping core ==1167560== Access not within mapped region at address 0x1FFE801098 ==1167560== Stack overflow in thread #1: can't grow stack to 0x1ffe801000 ==1167560== at 0x40118E: __module1_MOD_child_get (module1.f90:43)