https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79876
--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > I have read people complaining about very low OMP stack sizes > on OSX. What is setting the limit? > Should we set this to a more reasonable default value in libgfortran? > Less than 800k is quite ridiculous. If possible, it would be a great idea. > Alternatively, is there a way to detect stack overrun in a case like > this, and abort with something more helpful? Indeed, but is it worth the pain? Final note, it would be interesting to understand why r242391 is OK, but not r242872.