https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81416
--- Comment #4 from bz0815 at tirol dot com ---
(In reply to Andrew Pinski from comment #3)
> > DOUBLE PRECISION,DIMENSION(n) :: b
>
> This array is on the stack.
So
DOUBLE PRECISION,DIMENSION(n) :: b
is put on the stack if it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81416
--- Comment #2 from bz0815 at tirol dot com ---
(In reply to Andrew Pinski from comment #1)
> Try increasing your stack limit. I suspect it is too low. With -fopenmp
> turned on causes arrays to be always stored on the stack .
Many than
Assignee: unassigned at gcc dot gnu.org
Reporter: bz0815 at tirol dot com
Target Milestone: ---
gfortran crashes if OpenMP is activated and large arrays are passed:
$ cat mod.f08
MODULE Mod
USE OMP_LIB
IMPLICIT NONE
CONTAINS
SUBROUTINE Print_Info(b)
DOUBLE PRECISION