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/50924] Attempt to allocate negative amount of memory. Possible integer overflow


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

kargl at gcc dot gnu.org changed:

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

--- Comment #2 from kargl at gcc dot gnu.org 2011-10-30 18:55:09 UTC ---
(In reply to comment #1)
> NB: my system is 32-bit

What happens if you use 'INTEGER(8) N'?

You may simply be hitting an OS problem.  Your code
fails on i686-*-freebsd and runs fine on x86_64-*-freebsd.

The moral seems to be if you want to grab large chunks
of memory, get hardware that will it.


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