[Bug libfortran/91543] Handling stack overflow more sensibly

2019-09-14 Thread tkoenig at gcc dot gnu.org
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...

[Bug libfortran/91543] Handling stack overflow more sensibly

2019-08-26 Thread tkoenig at gcc dot gnu.org
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 SIGSEGV.

[Bug libfortran/91543] Handling stack overflow more sensibly

2019-08-26 Thread rguenth at gcc dot gnu.org
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.