This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81416

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note the array is never allocated on the heap, it is either on the stack, or
(e.g. without -frecursive/-fopenmp) it can be in allocated .bss or if
initialized in .data section.  For heap allocations you need to use dynamic
allocation (allocatable array or pointer and use ALLOCATE on that).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]