https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91543
--- Comment #1 from Richard Biener ---
Did you try if -fstack-clash-protection provides a better failure mode? It
might be required to reliably detect that "end of the stack" case.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91543
--- Comment #2 from Thomas Koenig ---
(In reply to Richard Biener from comment #1)
> Did you try if -fstack-clash-protection provides a better failure mode? It
> might be required to reliably detect that "end of the stack" case.
No, just a SIGS
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91543
--- Comment #3 from Thomas Koenig ---
We could look at https://www.gnu.org/software/libsigsegv/ how to
do this, or maybe even include this as a prerequisite for libgfortran.
Haven't looked in detail yet...