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/33881] allocate negative memory



------- 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


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