This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50924] Attempt to allocate negative amount of memory. Possible integer overflow
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 30 Oct 2011 21:55:06 +0000
- Subject: [Bug fortran/50924] Attempt to allocate negative amount of memory. Possible integer overflow
- Auto-submitted: auto-generated
- References: <bug-50924-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50924
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-30 21:55:06 UTC ---
The maximum object size that can be allocated is half of the virtual
address-space. Your object is too large (this is a middle-end restriction,
documented
in the C implementation defined section of the manual - the same restriction
applies to fortran).