[Bug fortran/39571] Compiler crash with "GNU MP: Cannot reallocate memory"
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Mar 28 05:21:00 GMT 2009
------- Comment #6 from kargl at gcc dot gnu dot org 2009-03-28 05:21 -------
(In reply to comment #5)
>
> Considering that gmp is being told to raise 2 to the 268435472nd power, I
> don't think any system's allocator would work.
>
See my first post. FreeBSD seems to handle it. But, there is something
wrong on your OS becuase huge(0) isn't 268435472.
REMOVE:kargl[58] cat > b.f90
print*, huge(0)
end
REMOVE:kargl[60] gfc4x -o z b.f90
REMOVE:kargl[61] ./z
2147483647
NetBSD seems to be using jemalloc. which is the memory allocator
from FreeBSD. Perhaps, your memory is defective.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39571
More information about the Gcc-bugs
mailing list