[Bug fortran/81416] OpenMP craches if large arrays passed

2017-07-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81416 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug fortran/81416] OpenMP craches if large arrays passed

2017-07-14 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81416 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/81416] OpenMP craches if large arrays passed

2017-07-14 Thread bz0815 at tirol dot com
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 is passed as

[Bug fortran/81416] OpenMP craches if large arrays passed

2017-07-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81416 --- Comment #3 from Andrew Pinski --- > DOUBLE PRECISION,DIMENSION(n) :: b This array is on the stack.

[Bug fortran/81416] OpenMP craches if large arrays passed

2017-07-13 Thread bz0815 at tirol dot com
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 thanks for

[Bug fortran/81416] OpenMP craches if large arrays passed

2017-07-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81416 --- Comment #1 from Andrew Pinski --- Try increasing your stack limit. I suspect it is too low. With -fopenmp turned on causes arrays to be always stored on the stack .