This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33881] allocate negative memory
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2007 15:33:58 -0000
- Subject: [Bug fortran/33881] allocate negative memory
- References: <bug-33881-11265@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from burnus at gcc dot gnu dot org 2007-10-24 15:33 -------
> Fortran runtime error: Attempt to allocate a negative amount of memory.
This error usually means that you allocate that much memory that an integer(4)
variable overflows. I cannot reproduce the error here with -m32 or -m64 on
x86_64/Linux (20071016 (experimental) [trunk revision 129378]).
(Using valgrind I get a lot of unintialized-variable warnings which are due to
the fact that create_watch_actual is only a stub.)
Which platform are you using (CPU + operating system; "gfortran -v" shows this
in the "Target:" line.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33881