[Bug fortran/46752] OpenMP - Seg fault for unallocated allocatable array in firstprivate clause

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 1 21:26:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46752

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |openmp, wrong-code
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-01 21:26:10 UTC ---
Older GCC 4.6:

Fortran runtime error: Attempt to allocate negative amount of memory. Possible
integer overflow

Current GCC 4.6:
Operating system error: Cannot allocate memory
Out of memory

Valgrind:
==15971== Warning: silly arg (-1485340) to malloc()
==15971== Warning: silly arg (-1485340) to malloc()
Operating system error: Success
Out of memory



More information about the Gcc-bugs mailing list